Skip to content

Commit ce72f0d

Browse files
committed
test: add case for tagged template expression
1 parent 3ed5c79 commit ce72f0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/prefer-string-raw.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ test.snapshot({
6060
// Ending with backslash
6161
'a = `\\\\a${foo}b\\\\${foo}`',
6262

63+
// Tagged template expression
64+
'a = String.raw`a\\\\b`',
65+
6366
// Multiline
6467
outdent`
6568
a = \`\\\\a \\

0 commit comments

Comments
 (0)