test(verifier): an unreadable committed fixture fails, it does not skip

The comment said the round trip always runs. A skip on a fixture that is
committed turns a missing or truncated file into a green.
This commit is contained in:
pj committed 2026-08-18 16:13:06 +05:30
1 parent e08e1cc83b
commit 5a36b583ea
1 file changed
+1 -1
+1 -1
View File
@@ -67,7 +67,7 @@ func TestStateAxObjectSelectorTestTagAlias(t *testing.T) {
func TestStateAxFindWorks(t *testing.T) {
jsonText, err := os.ReadFile("testdata/ax_find_tree.json")
if err != nil {
t.Skip("ax_find_tree.json fixture unreadable")
t.Fatalf("committed fixture unreadable, so the round trip never ran: %v", err)
}
tree, err := hierarchy.Parse(string(jsonText))
if err != nil {