revert unrelated changes and add TODOs

pull/8362/head
Ben McCann 3 years ago
parent 56146d0a11
commit eab99a46f4

@ -11,14 +11,16 @@ export default {
assert.deepEqual(h1.__svelte_meta.loc, { assert.deepEqual(h1.__svelte_meta.loc, {
file: path.relative(process.cwd(), path.resolve(__dirname, 'main.svelte')), file: path.relative(process.cwd(), path.resolve(__dirname, 'main.svelte')),
line: 5, // TODO: fix this. the h1 is on line 5
line: 4,
column: 0, column: 0,
char: 53 char: 53
}); });
assert.deepEqual(p.__svelte_meta.loc, { assert.deepEqual(p.__svelte_meta.loc, {
file: path.relative(process.cwd(), path.resolve(__dirname, 'Foo.svelte')), file: path.relative(process.cwd(), path.resolve(__dirname, 'Foo.svelte')),
line: 2, // TODO: fix this. the p is on line 2
line: 1,
column: 1, column: 1,
char: 7 char: 7
}); });

Loading…
Cancel
Save