@@ -148,7 +148,7 @@ Generated by [AVA](https://avajs.dev).
148
148
149
149
`␊
150
150
> 1 | a = String.raw\`abc\`␊
151
- | ^^^^^^^^^^^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
151
+ | ^^^^^^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
152
152
`
153
153
154
154
## invalid(2): a = String.raw` ab${foo}cd `
@@ -169,7 +169,7 @@ Generated by [AVA](https://avajs.dev).
169
169
170
170
`␊
171
171
> 1 | a = String.raw\`ab${foo}cd\`␊
172
- | ^^^^^^^^^^^^^^^^^^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
172
+ | ^^^^^^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
173
173
`
174
174
175
175
## invalid(3): a = String.raw` ab"c `
@@ -190,7 +190,7 @@ Generated by [AVA](https://avajs.dev).
190
190
191
191
`␊
192
192
> 1 | a = String.raw\`ab"c\`␊
193
- | ^^^^^^^^^^^^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
193
+ | ^^^^^^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
194
194
`
195
195
196
196
## invalid(4): a = String.raw` ab'c `
@@ -211,7 +211,7 @@ Generated by [AVA](https://avajs.dev).
211
211
212
212
`␊
213
213
> 1 | a = String.raw\`ab'c\`␊
214
- | ^^^^^^^^^^^^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
214
+ | ^^^^^^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
215
215
`
216
216
217
217
## invalid(5): a = String.raw` ab'"c `
@@ -232,7 +232,7 @@ Generated by [AVA](https://avajs.dev).
232
232
233
233
`␊
234
234
> 1 | a = String.raw\`ab'"c\`␊
235
- | ^^^^^^^^^^^^^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
235
+ | ^^^^^^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
236
236
`
237
237
238
238
## invalid(6): a = String.raw` ab c `
@@ -255,9 +255,8 @@ Generated by [AVA](https://avajs.dev).
255
255
256
256
`␊
257
257
> 1 | a = String.raw\`ab␊
258
- | ^^^^^^^^^^^^^␊
259
- > 2 | c\`␊
260
- | ^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
258
+ | ^^^^^^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
259
+ 2 | c\`␊
261
260
`
262
261
263
262
## invalid(7): a = String.raw` a bc de `
@@ -282,11 +281,9 @@ Generated by [AVA](https://avajs.dev).
282
281
283
282
`␊
284
283
> 1 | a = String.raw\`a␊
285
- | ^^^^^^^^^^^^␊
286
- > 2 | bc␊
287
- | ^^^␊
288
- > 3 | de\`␊
289
- | ^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
284
+ | ^^^^^^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
285
+ 2 | bc␊
286
+ 3 | de\`␊
290
287
`
291
288
292
289
## invalid(8): a = String.raw` a${foo}b ${bar}cd `
@@ -311,11 +308,9 @@ Generated by [AVA](https://avajs.dev).
311
308
312
309
`␊
313
310
> 1 | a = String.raw\`␊
314
- | ^^^^^^^^^^^␊
315
- > 2 | a${foo}b␊
316
- | ^^^^^^^^␊
317
- > 3 | ${bar}cd\`␊
318
- | ^^^^^^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
311
+ | ^^^^^^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
312
+ 2 | a${foo}b␊
313
+ 3 | ${bar}cd\`␊
319
314
`
320
315
321
316
## invalid(9): a String.raw` abc `
@@ -339,7 +334,7 @@ Generated by [AVA](https://avajs.dev).
339
334
`␊
340
335
1 | a␊
341
336
> 2 | String.raw\`abc\`␊
342
- | ^^^^^^^^^^^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
337
+ | ^^^^^^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
343
338
`
344
339
345
340
## invalid(10): a String.raw` a${b} `
@@ -363,7 +358,7 @@ Generated by [AVA](https://avajs.dev).
363
358
`␊
364
359
1 | a␊
365
360
> 2 | String.raw\`a${b}\`␊
366
- | ^^^^^^^^^^^^^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
361
+ | ^^^^^^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
367
362
`
368
363
369
364
## invalid(11): a = String.raw // Comment ` ab c `
@@ -390,13 +385,10 @@ Generated by [AVA](https://avajs.dev).
390
385
391
386
`␊
392
387
> 1 | a = String.raw␊
393
- | ^^^^^^^^^^␊
394
- > 2 | // Comment␊
395
- | ^^^^^^^^^^␊
396
- > 3 | \`ab␊
397
- | ^^^^^^^^^^␊
398
- > 4 | c\`␊
399
- | ^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
388
+ | ^^^^^^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
389
+ 2 | // Comment␊
390
+ 3 | \`ab␊
391
+ 4 | c\`␊
400
392
`
401
393
402
394
## invalid(12): a = String.raw /* comment * / ` ab c `
@@ -419,7 +411,6 @@ Generated by [AVA](https://avajs.dev).
419
411
420
412
`␊
421
413
> 1 | a = String.raw /* comment */ \`ab␊
422
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^␊
423
- > 2 | c\`␊
424
- | ^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
414
+ | ^^^^^^^^^^ Using \`String.raw\` is unnecessary as the string does not contain any \`\\\`.␊
415
+ 2 | c\`␊
425
416
`
0 commit comments