Skip to content

Commit

Permalink
Failed test around the \ character which MUST be encoded in JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
bbakerman committed Aug 20, 2018
1 parent 639f366 commit df4775c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/groovy/graphql/language/AstValueHelperTest.groovy
Expand Up @@ -62,7 +62,7 @@ class AstValueHelperTest extends Specification {

astFromValue('VA\n\t\f\r\b\\LUE', GraphQLString).isEqualTo(new StringValue('VA\\n\\t\\f\\r\\b\\\\LUE'))

astFromValue('VA/LUE', GraphQLString).isEqualTo(new StringValue('VA/LUE'))
astFromValue('VA/LUE', GraphQLString).isEqualTo(new StringValue('VA\\/LUE'))

astFromValue('VA\\L\"UE', GraphQLString).isEqualTo(new StringValue('VA\\\\L\\"UE'))

Expand Down

0 comments on commit df4775c

Please sign in to comment.