Skip to content

Commit a347f5e

Browse files
pouwerkerkmarijnh
authored andcommitted
[jsx mode] Add test for corner case
Issue #4909
1 parent c423228 commit a347f5e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mode/jsx/test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
MT("preserve_js_context",
3434
"[variable x] [operator =] [string-2 `quasi${][bracket&tag <][tag foo][bracket&tag />][string-2 }quoted`]")
3535

36+
MT("string_interpolation",
37+
"[variable x] [operator =] [string-2 `quasi<code>${] [number 10] [string-2 }</code>`]")
38+
3639
MT("line_comment",
3740
"([bracket&tag <][tag foo] [comment // hello]",
3841
" [bracket&tag ></][tag foo][bracket&tag >][operator ++])")

0 commit comments

Comments
 (0)