Skip to content

Commit

Permalink
Fix java query test
Browse files Browse the repository at this point in the history
  • Loading branch information
flyingsilverfin committed Aug 3, 2022
1 parent af46067 commit f80f2f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/query/test/TypeQLQueryTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public void testInsertQueryToString() {
@Test
public void testEscapeStrings() {
assertEquals("insert\n$x \"hello\nworld\";", TypeQL.insert(var("x").eq("hello\nworld")).toString());
assertEquals("insert\n$x \"hello\\nworld\";", TypeQL.insert(var("x").eq("hello\\nworld")).toString());
assertEquals("insert\n$x \"hello\\\\nworld\";", TypeQL.insert(var("x").eq("hello\\nworld")).toString());
}

@Test
Expand Down

0 comments on commit f80f2f1

Please sign in to comment.