Skip to content

Commit c35f572

Browse files
committed
remove TODO in tests for duplicate object fields -- fixes #17
1 parent 8337dfe commit c35f572

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

test/ParserTests.cpp

-9
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,6 @@ TEST(ParserTests, RejectsVariablesInConstantValues) {
9191
"1.37-40: syntax error, unexpected VARIABLE");
9292
}
9393

94-
// TODO: pass this test. It requires a specific check when building
95-
// the AST.
96-
#if 0
97-
TEST(ParserTests, RejectsDuplicateKeysInObjectValue) {
98-
expectError("{ field(arg: { a: 1, a: 2 }) }",
99-
"TK");
100-
}
101-
#endif
102-
10394
TEST(ParserTests, RejectsFragmentsNamedOn) {
10495
expectError("fragment on on on { on }",
10596
"1.10-11: syntax error, unexpected on");

0 commit comments

Comments
 (0)