Skip to content

testsuite harness: tighten the UpdateEvaluationTest empty-result guard #1472

Closed

Description

@aaj3f

Deferred from PR #1462 review (P3); zero live impact. evaluate_update_evaluation_test (testsuite-sparql/src/query_handler.rs:86) bails only when !result_present AND all content signals are empty. A present but content-empty result (e.g. mf:result [ ut:graphData <unresolvable> ], where graphData fails to resolve) has result_present == true, so the guard doesn't fire and the test is treated as an "expected empty store" — a false-pass risk against a coincidentally-empty store. No current W3C test is affected (real corpus uses a bare []). Fix needs the manifest parser to expose predicate-presence on the result node (result_present is a bool today).

Acceptance: a present-but-content-empty mf:result with zero usable predicates is a parse/skip, not an expected-empty-store; bare [] still passes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions