File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ test.snapshot({
75
75
] ,
76
76
invalid : [
77
77
'a = `a\\\\b`' ,
78
- 'function a() {return `a\\\\b${foo}cd`}' ,
78
+ 'function a() {return`a\\\\b${foo}cd`}' ,
79
79
'a = {[`a\\\\b${foo}cd${foo.bar}e\\\\f`]: b}' ,
80
80
'a = `a${foo}${foo.bar}b\\\\c`' ,
81
81
'a = `a\\\\b${"c\\\\d"}e`' ,
Original file line number Diff line number Diff line change @@ -151,12 +151,12 @@ Generated by [AVA](https://avajs.dev).
151
151
| ^^^^^^ \`String.raw\` should be used to avoid escaping \`\\\`.␊
152
152
`
153
153
154
- ## invalid(2): function a() {return ` a\\b${foo}cd ` }
154
+ ## invalid(2): function a() {return` a\\b${foo}cd ` }
155
155
156
156
> Input
157
157
158
158
`␊
159
- 1 | function a() {return \`a\\\\b${foo}cd\`}␊
159
+ 1 | function a() {return\`a\\\\b${foo}cd\`}␊
160
160
`
161
161
162
162
> Output
@@ -168,8 +168,8 @@ Generated by [AVA](https://avajs.dev).
168
168
> Error 1/1
169
169
170
170
`␊
171
- > 1 | function a() {return \`a\\\\b${foo}cd\`}␊
172
- | ^^^^^^^^^^^^^^ \`String.raw\` should be used to avoid escaping \`\\\`.␊
171
+ > 1 | function a() {return\`a\\\\b${foo}cd\`}␊
172
+ | ^^^^^^^^^^^^^^ \`String.raw\` should be used to avoid escaping \`\\\`.␊
173
173
`
174
174
175
175
## invalid(3): a = {[ ` a\\b${foo}cd${foo.bar}e\\f ` ] : b}
You can’t perform that action at this time.
0 commit comments