mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
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:
1 parent
e08e1cc83b
commit
5a36b583ea
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user