GumpacG commented on code in PR #3381:
URL: https://github.com/apache/tinkerpop/pull/3381#discussion_r3060214514


##########
gremlin-go/driver/gremlinlang_test.go:
##########
@@ -674,6 +674,12 @@ func Test_GremlinLang(t *testing.T) {
                        },
                        equals: "g.inject(NaN).is(eq(NaN))",
                },
+               {
+                       assert: func(g *GraphTraversalSource) *GraphTraversal {
+                               return g.V().Has("name", "\"marko\n\r\t\b\f\"")
+                       },
+                       equals: 
"g.V().has(\"name\",\"\\\"marko\\n\\r\\t\\b\\f\\\"\")",

Review Comment:
   This will fail because single quotes are not escaped similar to Java since 
the string arguments are always wrapped in double quotes. It doesn't need to be 
added as it is not an escaped character.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to