Skip to content

Commit

Permalink
Add invalid escaped line break
Browse files Browse the repository at this point in the history
This is `\LF`, a `\` at the end of the line (used by some programming
languages to wrap a line); it is not `\\n`.
  • Loading branch information
Marcono1234 authored Jul 31, 2024
1 parent de8223a commit a84d8e4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/name_selector.json
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,11 @@
"selector": "$[\"\\\"]",
"invalid_selector": true
},
{
"name": "double quotes, escape at end of line",
"selector": "$[\"\\\n\"]",
"invalid_selector": true
},
{
"name": "double quotes, question mark escape",
"selector": "$[\"\\?\"]",
Expand Down

0 comments on commit a84d8e4

Please sign in to comment.