Skip to content

Commit 49aafe4

Browse files
gibson042springcomp
authored andcommitted
Update test comments for clarity (#20)
Ref df9882a
1 parent c76d467 commit 49aafe4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/literal.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -216,19 +216,19 @@
216216
"result": "\\u03a6"
217217
},
218218
{
219-
"comment": "Can escape the single quote",
219+
"comment": "Can escape single quote",
220220
"expression": "'foo\\'bar'",
221221
"result": "foo'bar"
222222
},
223223
{
224-
"comment": "Backslash not followed by single quote is treated as any other character",
225-
"expression": "'\\z'",
226-
"result": "\\z"
227-
},
228-
{
229-
"comment": "Backslash not followed by single quote is treated as any other character",
224+
"comment": "Can escape backslash",
230225
"expression": "'\\\\'",
231226
"result": "\\"
227+
},
228+
{
229+
"comment": "Backslash not followed by single quote or backslash is treated as any other character",
230+
"expression": "'\\z'",
231+
"result": "\\z"
232232
}
233233
]
234234
}

0 commit comments

Comments
 (0)