Skip to content

Commit 6458609

Browse files
committed
oops, fix index
1 parent 59f680d commit 6458609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/graphql/static_validation/rules/fragments_are_finite_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575

7676
it "detects the uniqueness problem" do
7777
assert_equal 1, errors.length
78-
assert_equal("Fragment name \"frag1\" must be unique", errors[1]["message"])
78+
assert_equal("Fragment name \"frag1\" must be unique", errors[0]["message"])
7979
end
8080
end
8181

0 commit comments

Comments
 (0)