Skip to content

Commit

Permalink
remove TODO in tests for duplicate object fields -- fixes #17
Browse files Browse the repository at this point in the history
  • Loading branch information
swolchok committed Sep 28, 2015
1 parent 8337dfe commit c35f572
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions test/ParserTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,6 @@ TEST(ParserTests, RejectsVariablesInConstantValues) {
"1.37-40: syntax error, unexpected VARIABLE");
}

// TODO: pass this test. It requires a specific check when building
// the AST.
#if 0
TEST(ParserTests, RejectsDuplicateKeysInObjectValue) {
expectError("{ field(arg: { a: 1, a: 2 }) }",
"TK");
}
#endif

TEST(ParserTests, RejectsFragmentsNamedOn) {
expectError("fragment on on on { on }",
"1.10-11: syntax error, unexpected on");
Expand Down

0 comments on commit c35f572

Please sign in to comment.