|
|
|
|
@ -19,9 +19,10 @@ export async function test({ assert, css, js }) {
|
|
|
|
|
const sourcefile = 'input.svelte';
|
|
|
|
|
[
|
|
|
|
|
// TODO: get line and col num from input.svelte rather than hardcoding here
|
|
|
|
|
// TODO: this should be line 12 (source maps are 0-indexed)
|
|
|
|
|
[css, '--keep-me', 13, 2],
|
|
|
|
|
// TODO: these should be col 2 (each tab is 1 col)
|
|
|
|
|
// TODO: these should be 7, 2 and 10, 2
|
|
|
|
|
// we use locate_1 which means lines are 1-indexed and cols are 0-indexed
|
|
|
|
|
// each tab is 1 col
|
|
|
|
|
[css, '--done-replace-once', 6, 4],
|
|
|
|
|
[css, '--done-replace-twice', 9, 4]
|
|
|
|
|
]
|
|
|
|
|
|