diff --git a/test/server-side-rendering/samples/component-refs-and-attributes/Widget.html b/test/server-side-rendering/samples/component-refs-and-attributes/Widget.svelte
similarity index 100%
rename from test/server-side-rendering/samples/component-refs-and-attributes/Widget.html
rename to test/server-side-rendering/samples/component-refs-and-attributes/Widget.svelte
diff --git a/test/server-side-rendering/samples/component-refs-and-attributes/main.html b/test/server-side-rendering/samples/component-refs-and-attributes/main.svelte
similarity index 74%
rename from test/server-side-rendering/samples/component-refs-and-attributes/main.html
rename to test/server-side-rendering/samples/component-refs-and-attributes/main.svelte
index 8192bdf402..5c86521df5 100644
--- a/test/server-side-rendering/samples/component-refs-and-attributes/main.html
+++ b/test/server-side-rendering/samples/component-refs-and-attributes/main.svelte
@@ -1,7 +1,7 @@
diff --git a/test/server-side-rendering/samples/component-refs/Widget.html b/test/server-side-rendering/samples/component-refs/Widget.svelte
similarity index 100%
rename from test/server-side-rendering/samples/component-refs/Widget.html
rename to test/server-side-rendering/samples/component-refs/Widget.svelte
diff --git a/test/server-side-rendering/samples/component-refs/main.html b/test/server-side-rendering/samples/component-refs/main.svelte
similarity index 67%
rename from test/server-side-rendering/samples/component-refs/main.html
rename to test/server-side-rendering/samples/component-refs/main.svelte
index 96b3d15de4..6ec0bc5438 100644
--- a/test/server-side-rendering/samples/component-refs/main.html
+++ b/test/server-side-rendering/samples/component-refs/main.svelte
@@ -1,7 +1,7 @@
diff --git a/test/server-side-rendering/samples/component-yield/Widget.html b/test/server-side-rendering/samples/component-yield/Widget.svelte
similarity index 100%
rename from test/server-side-rendering/samples/component-yield/Widget.html
rename to test/server-side-rendering/samples/component-yield/Widget.svelte
diff --git a/test/server-side-rendering/samples/component-yield/main.html b/test/server-side-rendering/samples/component-yield/main.svelte
similarity index 69%
rename from test/server-side-rendering/samples/component-yield/main.html
rename to test/server-side-rendering/samples/component-yield/main.svelte
index 9c2f573c91..2dbd669a78 100644
--- a/test/server-side-rendering/samples/component-yield/main.html
+++ b/test/server-side-rendering/samples/component-yield/main.svelte
@@ -1,5 +1,5 @@
diff --git a/test/server-side-rendering/samples/component/Widget.html b/test/server-side-rendering/samples/component/Widget.svelte
similarity index 100%
rename from test/server-side-rendering/samples/component/Widget.html
rename to test/server-side-rendering/samples/component/Widget.svelte
diff --git a/test/server-side-rendering/samples/component/main.html b/test/server-side-rendering/samples/component/main.svelte
similarity index 53%
rename from test/server-side-rendering/samples/component/main.html
rename to test/server-side-rendering/samples/component/main.svelte
index ecb4297a40..ac0b429163 100644
--- a/test/server-side-rendering/samples/component/main.html
+++ b/test/server-side-rendering/samples/component/main.svelte
@@ -1,5 +1,5 @@
diff --git a/test/server-side-rendering/samples/computed/main.html b/test/server-side-rendering/samples/computed/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/computed/main.html
rename to test/server-side-rendering/samples/computed/main.svelte
diff --git a/test/server-side-rendering/samples/default-data-override/main.html b/test/server-side-rendering/samples/default-data-override/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/default-data-override/main.html
rename to test/server-side-rendering/samples/default-data-override/main.svelte
diff --git a/test/server-side-rendering/samples/default-data/main.html b/test/server-side-rendering/samples/default-data/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/default-data/main.html
rename to test/server-side-rendering/samples/default-data/main.svelte
diff --git a/test/server-side-rendering/samples/directives/main.html b/test/server-side-rendering/samples/directives/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/directives/main.html
rename to test/server-side-rendering/samples/directives/main.svelte
diff --git a/test/server-side-rendering/samples/dynamic-text-escaped/main.html b/test/server-side-rendering/samples/dynamic-text-escaped/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/dynamic-text-escaped/main.html
rename to test/server-side-rendering/samples/dynamic-text-escaped/main.svelte
diff --git a/test/server-side-rendering/samples/dynamic-text/main.html b/test/server-side-rendering/samples/dynamic-text/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/dynamic-text/main.html
rename to test/server-side-rendering/samples/dynamic-text/main.svelte
diff --git a/test/server-side-rendering/samples/each-block/main.html b/test/server-side-rendering/samples/each-block/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/each-block/main.html
rename to test/server-side-rendering/samples/each-block/main.svelte
diff --git a/test/server-side-rendering/samples/empty-elements-closed/main.html b/test/server-side-rendering/samples/empty-elements-closed/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/empty-elements-closed/main.html
rename to test/server-side-rendering/samples/empty-elements-closed/main.svelte
diff --git a/test/server-side-rendering/samples/entities/main.html b/test/server-side-rendering/samples/entities/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/entities/main.html
rename to test/server-side-rendering/samples/entities/main.svelte
diff --git a/test/server-side-rendering/samples/head-title/_actual-head.html b/test/server-side-rendering/samples/head-title/_actual-head.html
deleted file mode 100644
index 7d696352f9..0000000000
--- a/test/server-side-rendering/samples/head-title/_actual-head.html
+++ /dev/null
@@ -1 +0,0 @@
-
a custom title
\ No newline at end of file
diff --git a/test/server-side-rendering/samples/head-title/main.html b/test/server-side-rendering/samples/head-title/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/head-title/main.html
rename to test/server-side-rendering/samples/head-title/main.svelte
diff --git a/test/server-side-rendering/samples/helpers/main.html b/test/server-side-rendering/samples/helpers/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/helpers/main.html
rename to test/server-side-rendering/samples/helpers/main.svelte
diff --git a/test/server-side-rendering/samples/if-block-false/main.html b/test/server-side-rendering/samples/if-block-false/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/if-block-false/main.html
rename to test/server-side-rendering/samples/if-block-false/main.svelte
diff --git a/test/server-side-rendering/samples/if-block-true/main.html b/test/server-side-rendering/samples/if-block-true/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/if-block-true/main.html
rename to test/server-side-rendering/samples/if-block-true/main.svelte
diff --git a/test/server-side-rendering/samples/import-non-component/main.html b/test/server-side-rendering/samples/import-non-component/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/import-non-component/main.html
rename to test/server-side-rendering/samples/import-non-component/main.svelte
diff --git a/test/server-side-rendering/samples/raw-mustaches/main.html b/test/server-side-rendering/samples/raw-mustaches/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/raw-mustaches/main.html
rename to test/server-side-rendering/samples/raw-mustaches/main.svelte
diff --git a/test/server-side-rendering/samples/sanitize-name/[foo].html b/test/server-side-rendering/samples/sanitize-name/[foo].svelte
similarity index 100%
rename from test/server-side-rendering/samples/sanitize-name/[foo].html
rename to test/server-side-rendering/samples/sanitize-name/[foo].svelte
diff --git a/test/server-side-rendering/samples/sanitize-name/main.html b/test/server-side-rendering/samples/sanitize-name/main.html
deleted file mode 100644
index 6d7986da2e..0000000000
--- a/test/server-side-rendering/samples/sanitize-name/main.html
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/test/server-side-rendering/samples/sanitize-name/main.svelte b/test/server-side-rendering/samples/sanitize-name/main.svelte
new file mode 100644
index 0000000000..1438843da9
--- /dev/null
+++ b/test/server-side-rendering/samples/sanitize-name/main.svelte
@@ -0,0 +1,5 @@
+
+
+
\ No newline at end of file
diff --git a/test/server-side-rendering/samples/static-div/main.html b/test/server-side-rendering/samples/static-div/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/static-div/main.html
rename to test/server-side-rendering/samples/static-div/main.svelte
diff --git a/test/server-side-rendering/samples/static-text/main.html b/test/server-side-rendering/samples/static-text/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/static-text/main.html
rename to test/server-side-rendering/samples/static-text/main.svelte
diff --git a/test/server-side-rendering/samples/styles-nested/One.html b/test/server-side-rendering/samples/styles-nested/One.svelte
similarity index 84%
rename from test/server-side-rendering/samples/styles-nested/One.html
rename to test/server-side-rendering/samples/styles-nested/One.svelte
index df5512b91a..94b44675c8 100644
--- a/test/server-side-rendering/samples/styles-nested/One.html
+++ b/test/server-side-rendering/samples/styles-nested/One.svelte
@@ -1,5 +1,5 @@
diff --git a/test/server-side-rendering/samples/styles-nested/Two.html b/test/server-side-rendering/samples/styles-nested/Two.svelte
similarity index 100%
rename from test/server-side-rendering/samples/styles-nested/Two.html
rename to test/server-side-rendering/samples/styles-nested/Two.svelte
diff --git a/test/server-side-rendering/samples/styles-nested/main.html b/test/server-side-rendering/samples/styles-nested/main.svelte
similarity index 78%
rename from test/server-side-rendering/samples/styles-nested/main.html
rename to test/server-side-rendering/samples/styles-nested/main.svelte
index 11775475b8..d6f1d594e3 100644
--- a/test/server-side-rendering/samples/styles-nested/main.html
+++ b/test/server-side-rendering/samples/styles-nested/main.svelte
@@ -1,5 +1,5 @@
red
diff --git a/test/server-side-rendering/samples/styles/main.html b/test/server-side-rendering/samples/styles/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/styles/main.html
rename to test/server-side-rendering/samples/styles/main.svelte
diff --git a/test/server-side-rendering/samples/textarea-children/main.html b/test/server-side-rendering/samples/textarea-children/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/textarea-children/main.html
rename to test/server-side-rendering/samples/textarea-children/main.svelte
diff --git a/test/server-side-rendering/samples/textarea-value/main.html b/test/server-side-rendering/samples/textarea-value/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/textarea-value/main.html
rename to test/server-side-rendering/samples/textarea-value/main.svelte
diff --git a/test/server-side-rendering/samples/triple/main.html b/test/server-side-rendering/samples/triple/main.svelte
similarity index 100%
rename from test/server-side-rendering/samples/triple/main.html
rename to test/server-side-rendering/samples/triple/main.svelte
diff --git a/test/sourcemaps/index.js b/test/sourcemaps/index.js
index 7bdcaa7f41..79028719b9 100644
--- a/test/sourcemaps/index.js
+++ b/test/sourcemaps/index.js
@@ -21,7 +21,7 @@ describe("sourcemaps", () => {
const config = loadConfig(`./sourcemaps/samples/${dir}/_config.js`);
const filename = path.resolve(
- `test/sourcemaps/samples/${dir}/input.html`
+ `test/sourcemaps/samples/${dir}/input.svelte`
);
const outputFilename = path.resolve(
`test/sourcemaps/samples/${dir}/output`
@@ -56,8 +56,8 @@ describe("sourcemaps", () => {
);
}
- assert.deepEqual(js.map.sources, ["input.html"]);
- if (css.map) assert.deepEqual(css.map.sources, ["input.html"]);
+ assert.deepEqual(js.map.sources, ["input.svelte"]);
+ if (css.map) assert.deepEqual(css.map.sources, ["input.svelte"]);
const { test } = require(`./samples/${dir}/test.js`);
diff --git a/test/sourcemaps/samples/basic/input.html b/test/sourcemaps/samples/basic/input.svelte
similarity index 100%
rename from test/sourcemaps/samples/basic/input.html
rename to test/sourcemaps/samples/basic/input.svelte
diff --git a/test/sourcemaps/samples/basic/test.js b/test/sourcemaps/samples/basic/test.js
index f0680b7351..f13ff5d0e1 100644
--- a/test/sourcemaps/samples/basic/test.js
+++ b/test/sourcemaps/samples/basic/test.js
@@ -12,7 +12,7 @@ export function test({ assert, smc, locateInSource, locateInGenerated }) {
});
assert.deepEqual( actual, {
- source: 'input.html',
+ source: 'input.svelte',
name: null,
line: expected.line + 1,
column: expected.column
@@ -26,7 +26,7 @@ export function test({ assert, smc, locateInSource, locateInGenerated }) {
});
assert.deepEqual( actual, {
- source: 'input.html',
+ source: 'input.svelte',
name: null,
line: expected.line + 1,
column: expected.column
diff --git a/test/sourcemaps/samples/binding-shorthand.skip/input.html b/test/sourcemaps/samples/binding-shorthand.skip/input.svelte
similarity index 100%
rename from test/sourcemaps/samples/binding-shorthand.skip/input.html
rename to test/sourcemaps/samples/binding-shorthand.skip/input.svelte
diff --git a/test/sourcemaps/samples/binding-shorthand.skip/test.js b/test/sourcemaps/samples/binding-shorthand.skip/test.js
index 8c2216ead5..cdfbbdc091 100644
--- a/test/sourcemaps/samples/binding-shorthand.skip/test.js
+++ b/test/sourcemaps/samples/binding-shorthand.skip/test.js
@@ -13,7 +13,7 @@ export function test({ assert, smc, locateInSource, locateInGenerated }) {
});
assert.deepEqual(actual, {
- source: 'input.html',
+ source: 'input.svelte',
name: null,
line: expected.line + 1,
column: expected.column
diff --git a/test/sourcemaps/samples/binding/input.html b/test/sourcemaps/samples/binding/input.svelte
similarity index 100%
rename from test/sourcemaps/samples/binding/input.html
rename to test/sourcemaps/samples/binding/input.svelte
diff --git a/test/sourcemaps/samples/binding/test.js b/test/sourcemaps/samples/binding/test.js
index a0750d89a1..31c0e98442 100644
--- a/test/sourcemaps/samples/binding/test.js
+++ b/test/sourcemaps/samples/binding/test.js
@@ -12,7 +12,7 @@ export function test({ assert, smc, locateInSource, locateInGenerated }) {
});
assert.deepEqual(actual, {
- source: 'input.html',
+ source: 'input.svelte',
name: null,
line: expected.line + 1,
column: expected.column
@@ -26,7 +26,7 @@ export function test({ assert, smc, locateInSource, locateInGenerated }) {
});
assert.deepEqual(actual, {
- source: 'input.html',
+ source: 'input.svelte',
name: null,
line: expected.line + 1,
column: expected.column
diff --git a/test/sourcemaps/samples/css/input.html b/test/sourcemaps/samples/css/input.svelte
similarity index 100%
rename from test/sourcemaps/samples/css/input.html
rename to test/sourcemaps/samples/css/input.svelte
diff --git a/test/sourcemaps/samples/css/test.js b/test/sourcemaps/samples/css/test.js
index c1f55612eb..54082bd4ee 100644
--- a/test/sourcemaps/samples/css/test.js
+++ b/test/sourcemaps/samples/css/test.js
@@ -9,7 +9,7 @@ export function test({ assert, smcCss, locateInSource, locateInGeneratedCss }) {
});
assert.deepEqual( actual, {
- source: 'input.html',
+ source: 'input.svelte',
name: null,
line: expected.line + 1,
column: expected.column
diff --git a/test/sourcemaps/samples/each-block/input.html b/test/sourcemaps/samples/each-block/input.svelte
similarity index 100%
rename from test/sourcemaps/samples/each-block/input.html
rename to test/sourcemaps/samples/each-block/input.svelte
diff --git a/test/sourcemaps/samples/each-block/test.js b/test/sourcemaps/samples/each-block/test.js
index b0c1eb9583..6e9d2d70b0 100644
--- a/test/sourcemaps/samples/each-block/test.js
+++ b/test/sourcemaps/samples/each-block/test.js
@@ -10,7 +10,7 @@ export function test({ assert, code, smc, locateInSource, locateInGenerated }) {
});
assert.deepEqual( actual, {
- source: 'input.html',
+ source: 'input.svelte',
name: null,
line: expected.line + 1,
column: expected.column
diff --git a/test/sourcemaps/samples/script/input.html b/test/sourcemaps/samples/script/input.svelte
similarity index 100%
rename from test/sourcemaps/samples/script/input.html
rename to test/sourcemaps/samples/script/input.svelte
diff --git a/test/sourcemaps/samples/script/test.js b/test/sourcemaps/samples/script/test.js
index 87818fef09..73971ef487 100644
--- a/test/sourcemaps/samples/script/test.js
+++ b/test/sourcemaps/samples/script/test.js
@@ -8,7 +8,7 @@ export function test({ assert, smc, locateInSource, locateInGenerated }) {
});
assert.deepEqual( actual, {
- source: 'input.html',
+ source: 'input.svelte',
name: null,
line: expected.line + 1,
column: expected.column
diff --git a/test/sourcemaps/samples/static-no-script/input.html b/test/sourcemaps/samples/static-no-script/input.svelte
similarity index 100%
rename from test/sourcemaps/samples/static-no-script/input.html
rename to test/sourcemaps/samples/static-no-script/input.svelte
diff --git a/test/sourcemaps/samples/static-no-script/test.js b/test/sourcemaps/samples/static-no-script/test.js
index d4b66d9abc..a8f4d89ab8 100644
--- a/test/sourcemaps/samples/static-no-script/test.js
+++ b/test/sourcemaps/samples/static-no-script/test.js
@@ -2,8 +2,8 @@ const fs = require( 'fs' );
const path = require( 'path' );
export function test({ assert, map }) {
- assert.deepEqual( map.sources, [ 'input.html' ]);
+ assert.deepEqual( map.sources, [ 'input.svelte' ]);
assert.deepEqual( map.sourcesContent, [
- fs.readFileSync( path.join( __dirname, 'input.html' ), 'utf-8' )
+ fs.readFileSync( path.join( __dirname, 'input.svelte' ), 'utf-8' )
]);
}
diff --git a/test/stats/index.js b/test/stats/index.js
index e0b114dd9a..fe4c2ac55b 100644
--- a/test/stats/index.js
+++ b/test/stats/index.js
@@ -16,7 +16,7 @@ describe('stats', () => {
(solo ? it.only : skip ? it.skip : it)(dir, () => {
const config = loadConfig(`./stats/samples/${dir}/_config.js`);
- const filename = `test/stats/samples/${dir}/input.html`;
+ const filename = `test/stats/samples/${dir}/input.svelte`;
const input = fs.readFileSync(filename, 'utf-8').replace(/\s+$/, '');
const expectedWarnings =
diff --git a/test/stats/samples/basic/input.html b/test/stats/samples/basic/input.svelte
similarity index 100%
rename from test/stats/samples/basic/input.html
rename to test/stats/samples/basic/input.svelte
diff --git a/test/stats/samples/duplicate-globals/input.html b/test/stats/samples/duplicate-globals/input.svelte
similarity index 100%
rename from test/stats/samples/duplicate-globals/input.html
rename to test/stats/samples/duplicate-globals/input.svelte
diff --git a/test/stats/samples/duplicate-non-hoistable/input.html b/test/stats/samples/duplicate-non-hoistable/input.svelte
similarity index 100%
rename from test/stats/samples/duplicate-non-hoistable/input.html
rename to test/stats/samples/duplicate-non-hoistable/input.svelte
diff --git a/test/stats/samples/duplicate-vars/input.html b/test/stats/samples/duplicate-vars/input.svelte
similarity index 100%
rename from test/stats/samples/duplicate-vars/input.html
rename to test/stats/samples/duplicate-vars/input.svelte
diff --git a/test/stats/samples/implicit-action/input.html b/test/stats/samples/implicit-action/input.svelte
similarity index 100%
rename from test/stats/samples/implicit-action/input.html
rename to test/stats/samples/implicit-action/input.svelte
diff --git a/test/stats/samples/implicit-reactive/input.html b/test/stats/samples/implicit-reactive/input.svelte
similarity index 100%
rename from test/stats/samples/implicit-reactive/input.html
rename to test/stats/samples/implicit-reactive/input.svelte
diff --git a/test/stats/samples/implicit/input.html b/test/stats/samples/implicit/input.svelte
similarity index 100%
rename from test/stats/samples/implicit/input.html
rename to test/stats/samples/implicit/input.svelte
diff --git a/test/stats/samples/imports/input.html b/test/stats/samples/imports/input.svelte
similarity index 100%
rename from test/stats/samples/imports/input.html
rename to test/stats/samples/imports/input.svelte
diff --git a/test/stats/samples/mutated-vs-reassigned-bindings/input.html b/test/stats/samples/mutated-vs-reassigned-bindings/input.svelte
similarity index 100%
rename from test/stats/samples/mutated-vs-reassigned-bindings/input.html
rename to test/stats/samples/mutated-vs-reassigned-bindings/input.svelte
diff --git a/test/stats/samples/mutated-vs-reassigned/input.html b/test/stats/samples/mutated-vs-reassigned/input.svelte
similarity index 100%
rename from test/stats/samples/mutated-vs-reassigned/input.html
rename to test/stats/samples/mutated-vs-reassigned/input.svelte
diff --git a/test/stats/samples/props/input.html b/test/stats/samples/props/input.svelte
similarity index 100%
rename from test/stats/samples/props/input.html
rename to test/stats/samples/props/input.svelte
diff --git a/test/stats/samples/store-referenced/input.html b/test/stats/samples/store-referenced/input.svelte
similarity index 100%
rename from test/stats/samples/store-referenced/input.html
rename to test/stats/samples/store-referenced/input.svelte
diff --git a/test/stats/samples/store-unreferenced/input.html b/test/stats/samples/store-unreferenced/input.svelte
similarity index 100%
rename from test/stats/samples/store-unreferenced/input.html
rename to test/stats/samples/store-unreferenced/input.svelte
diff --git a/test/stats/samples/template-references/input.html b/test/stats/samples/template-references/input.svelte
similarity index 100%
rename from test/stats/samples/template-references/input.html
rename to test/stats/samples/template-references/input.svelte
diff --git a/test/stats/samples/undeclared/input.html b/test/stats/samples/undeclared/input.svelte
similarity index 100%
rename from test/stats/samples/undeclared/input.html
rename to test/stats/samples/undeclared/input.svelte
diff --git a/test/validator/index.js b/test/validator/index.js
index 517427e817..f10024b86c 100644
--- a/test/validator/index.js
+++ b/test/validator/index.js
@@ -17,7 +17,7 @@ describe("validate", () => {
(solo ? it.only : skip ? it.skip : it)(dir, () => {
const config = loadConfig(`./validator/samples/${dir}/_config.js`);
- const input = fs.readFileSync(`test/validator/samples/${dir}/input.html`, "utf-8").replace(/\s+$/, "");
+ const input = fs.readFileSync(`test/validator/samples/${dir}/input.svelte`, "utf-8").replace(/\s+$/, "");
const expectedWarnings = tryToLoadJson(`test/validator/samples/${dir}/warnings.json`) || [];
const expectedErrors = tryToLoadJson(`test/validator/samples/${dir}/errors.json`);
diff --git a/test/validator/samples/a11y-alt-text/input.html b/test/validator/samples/a11y-alt-text/input.svelte
similarity index 100%
rename from test/validator/samples/a11y-alt-text/input.html
rename to test/validator/samples/a11y-alt-text/input.svelte
diff --git a/test/validator/samples/a11y-anchor-has-content/input.html b/test/validator/samples/a11y-anchor-has-content/input.svelte
similarity index 100%
rename from test/validator/samples/a11y-anchor-has-content/input.html
rename to test/validator/samples/a11y-anchor-has-content/input.svelte
diff --git a/test/validator/samples/a11y-anchor-in-svg-is-valid/input.html b/test/validator/samples/a11y-anchor-in-svg-is-valid/input.svelte
similarity index 100%
rename from test/validator/samples/a11y-anchor-in-svg-is-valid/input.html
rename to test/validator/samples/a11y-anchor-in-svg-is-valid/input.svelte
diff --git a/test/validator/samples/a11y-anchor-is-valid/input.html b/test/validator/samples/a11y-anchor-is-valid/input.svelte
similarity index 100%
rename from test/validator/samples/a11y-anchor-is-valid/input.html
rename to test/validator/samples/a11y-anchor-is-valid/input.svelte
diff --git a/test/validator/samples/a11y-aria-props/input.html b/test/validator/samples/a11y-aria-props/input.svelte
similarity index 100%
rename from test/validator/samples/a11y-aria-props/input.html
rename to test/validator/samples/a11y-aria-props/input.svelte
diff --git a/test/validator/samples/a11y-aria-role/input.html b/test/validator/samples/a11y-aria-role/input.svelte
similarity index 100%
rename from test/validator/samples/a11y-aria-role/input.html
rename to test/validator/samples/a11y-aria-role/input.svelte
diff --git a/test/validator/samples/a11y-aria-unsupported-element/input.html b/test/validator/samples/a11y-aria-unsupported-element/input.svelte
similarity index 100%
rename from test/validator/samples/a11y-aria-unsupported-element/input.html
rename to test/validator/samples/a11y-aria-unsupported-element/input.svelte
diff --git a/test/validator/samples/a11y-figcaption-right-place/input.html b/test/validator/samples/a11y-figcaption-right-place/input.svelte
similarity index 100%
rename from test/validator/samples/a11y-figcaption-right-place/input.html
rename to test/validator/samples/a11y-figcaption-right-place/input.svelte
diff --git a/test/validator/samples/a11y-figcaption-wrong-place/input.html b/test/validator/samples/a11y-figcaption-wrong-place/input.svelte
similarity index 100%
rename from test/validator/samples/a11y-figcaption-wrong-place/input.html
rename to test/validator/samples/a11y-figcaption-wrong-place/input.svelte
diff --git a/test/validator/samples/a11y-heading-has-content/input.html b/test/validator/samples/a11y-heading-has-content/input.svelte
similarity index 100%
rename from test/validator/samples/a11y-heading-has-content/input.html
rename to test/validator/samples/a11y-heading-has-content/input.svelte
diff --git a/test/validator/samples/a11y-html-has-lang/input.html b/test/validator/samples/a11y-html-has-lang/input.svelte
similarity index 100%
rename from test/validator/samples/a11y-html-has-lang/input.html
rename to test/validator/samples/a11y-html-has-lang/input.svelte
diff --git a/test/validator/samples/a11y-iframe-has-title/input.html b/test/validator/samples/a11y-iframe-has-title/input.svelte
similarity index 100%
rename from test/validator/samples/a11y-iframe-has-title/input.html
rename to test/validator/samples/a11y-iframe-has-title/input.svelte
diff --git a/test/validator/samples/a11y-no-access-key/input.html b/test/validator/samples/a11y-no-access-key/input.svelte
similarity index 100%
rename from test/validator/samples/a11y-no-access-key/input.html
rename to test/validator/samples/a11y-no-access-key/input.svelte
diff --git a/test/validator/samples/a11y-no-autofocus/input.html b/test/validator/samples/a11y-no-autofocus/input.svelte
similarity index 100%
rename from test/validator/samples/a11y-no-autofocus/input.html
rename to test/validator/samples/a11y-no-autofocus/input.svelte
diff --git a/test/validator/samples/a11y-no-distracting-elements/input.html b/test/validator/samples/a11y-no-distracting-elements/input.svelte
similarity index 100%
rename from test/validator/samples/a11y-no-distracting-elements/input.html
rename to test/validator/samples/a11y-no-distracting-elements/input.svelte
diff --git a/test/validator/samples/a11y-not-on-components/input.html b/test/validator/samples/a11y-not-on-components/input.svelte
similarity index 64%
rename from test/validator/samples/a11y-not-on-components/input.html
rename to test/validator/samples/a11y-not-on-components/input.svelte
index e0ee327280..c7673a67ed 100644
--- a/test/validator/samples/a11y-not-on-components/input.html
+++ b/test/validator/samples/a11y-not-on-components/input.svelte
@@ -1,5 +1,5 @@
diff --git a/test/validator/samples/a11y-not-on-components/warnings.json b/test/validator/samples/a11y-not-on-components/warnings.json
index 7e17fda95a..4d8fb62182 100644
--- a/test/validator/samples/a11y-not-on-components/warnings.json
+++ b/test/validator/samples/a11y-not-on-components/warnings.json
@@ -5,13 +5,13 @@
"start": {
"column": 8,
"line": 6,
- "character": 86
+ "character": 88
},
"end": {
"line": 6,
"column": 17,
- "character": 95
+ "character": 97
},
- "pos": 86
+ "pos": 88
}
]
diff --git a/test/validator/samples/a11y-scope/input.html b/test/validator/samples/a11y-scope/input.svelte
similarity index 100%
rename from test/validator/samples/a11y-scope/input.html
rename to test/validator/samples/a11y-scope/input.svelte
diff --git a/test/validator/samples/a11y-tabindex-no-positive/input.html b/test/validator/samples/a11y-tabindex-no-positive/input.svelte
similarity index 100%
rename from test/validator/samples/a11y-tabindex-no-positive/input.html
rename to test/validator/samples/a11y-tabindex-no-positive/input.svelte
diff --git a/test/validator/samples/action-invalid/input.html b/test/validator/samples/action-invalid/input.svelte
similarity index 100%
rename from test/validator/samples/action-invalid/input.html
rename to test/validator/samples/action-invalid/input.svelte
diff --git a/test/validator/samples/action-on-component/errors.json b/test/validator/samples/action-on-component/errors.json
index 596ef16482..7ffaeb45fd 100644
--- a/test/validator/samples/action-on-component/errors.json
+++ b/test/validator/samples/action-on-component/errors.json
@@ -1,15 +1,15 @@
[{
"code": "invalid-action",
"message": "Actions can only be applied to DOM elements, not components",
- "pos": 84,
+ "pos": 86,
"start": {
"line": 7,
"column": 8,
- "character": 84
+ "character": 86
},
"end": {
"line": 7,
"column": 15,
- "character": 91
+ "character": 93
}
}]
\ No newline at end of file
diff --git a/test/validator/samples/action-on-component/input.html b/test/validator/samples/action-on-component/input.html
deleted file mode 100644
index 788bedaa94..0000000000
--- a/test/validator/samples/action-on-component/input.html
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/test/validator/samples/action-on-component/input.svelte b/test/validator/samples/action-on-component/input.svelte
new file mode 100644
index 0000000000..a067c05dbd
--- /dev/null
+++ b/test/validator/samples/action-on-component/input.svelte
@@ -0,0 +1,7 @@
+
+
+
\ No newline at end of file
diff --git a/test/validator/samples/animation-duplicate/input.html b/test/validator/samples/animation-duplicate/input.svelte
similarity index 100%
rename from test/validator/samples/animation-duplicate/input.html
rename to test/validator/samples/animation-duplicate/input.svelte
diff --git a/test/validator/samples/animation-missing/input.html b/test/validator/samples/animation-missing/input.svelte
similarity index 100%
rename from test/validator/samples/animation-missing/input.html
rename to test/validator/samples/animation-missing/input.svelte
diff --git a/test/validator/samples/animation-not-in-each/input.html b/test/validator/samples/animation-not-in-each/input.svelte
similarity index 100%
rename from test/validator/samples/animation-not-in-each/input.html
rename to test/validator/samples/animation-not-in-each/input.svelte
diff --git a/test/validator/samples/animation-not-in-keyed-each/input.html b/test/validator/samples/animation-not-in-keyed-each/input.svelte
similarity index 100%
rename from test/validator/samples/animation-not-in-keyed-each/input.html
rename to test/validator/samples/animation-not-in-keyed-each/input.svelte
diff --git a/test/validator/samples/animation-siblings/input.html b/test/validator/samples/animation-siblings/input.svelte
similarity index 100%
rename from test/validator/samples/animation-siblings/input.html
rename to test/validator/samples/animation-siblings/input.svelte
diff --git a/test/validator/samples/await-component-is-used/input.html b/test/validator/samples/await-component-is-used/input.svelte
similarity index 77%
rename from test/validator/samples/await-component-is-used/input.html
rename to test/validator/samples/await-component-is-used/input.svelte
index 029b549675..5fe87e0c70 100644
--- a/test/validator/samples/await-component-is-used/input.html
+++ b/test/validator/samples/await-component-is-used/input.svelte
@@ -1,5 +1,5 @@
diff --git a/test/validator/samples/binding-dimensions-svg-child/input.html b/test/validator/samples/binding-dimensions-svg-child/input.svelte
similarity index 100%
rename from test/validator/samples/binding-dimensions-svg-child/input.html
rename to test/validator/samples/binding-dimensions-svg-child/input.svelte
diff --git a/test/validator/samples/binding-dimensions-svg/input.html b/test/validator/samples/binding-dimensions-svg/input.svelte
similarity index 100%
rename from test/validator/samples/binding-dimensions-svg/input.html
rename to test/validator/samples/binding-dimensions-svg/input.svelte
diff --git a/test/validator/samples/binding-dimensions-void/input.html b/test/validator/samples/binding-dimensions-void/input.svelte
similarity index 100%
rename from test/validator/samples/binding-dimensions-void/input.html
rename to test/validator/samples/binding-dimensions-void/input.svelte
diff --git a/test/validator/samples/binding-input-checked/input.html b/test/validator/samples/binding-input-checked/input.svelte
similarity index 100%
rename from test/validator/samples/binding-input-checked/input.html
rename to test/validator/samples/binding-input-checked/input.svelte
diff --git a/test/validator/samples/binding-input-type-boolean/input.html b/test/validator/samples/binding-input-type-boolean/input.svelte
similarity index 100%
rename from test/validator/samples/binding-input-type-boolean/input.html
rename to test/validator/samples/binding-input-type-boolean/input.svelte
diff --git a/test/validator/samples/binding-input-type-dynamic/input.html b/test/validator/samples/binding-input-type-dynamic/input.svelte
similarity index 100%
rename from test/validator/samples/binding-input-type-dynamic/input.html
rename to test/validator/samples/binding-input-type-dynamic/input.svelte
diff --git a/test/validator/samples/binding-invalid-on-element/input.html b/test/validator/samples/binding-invalid-on-element/input.svelte
similarity index 100%
rename from test/validator/samples/binding-invalid-on-element/input.html
rename to test/validator/samples/binding-invalid-on-element/input.svelte
diff --git a/test/validator/samples/binding-invalid-value/input.html b/test/validator/samples/binding-invalid-value/input.svelte
similarity index 100%
rename from test/validator/samples/binding-invalid-value/input.html
rename to test/validator/samples/binding-invalid-value/input.svelte
diff --git a/test/validator/samples/binding-invalid/input.html b/test/validator/samples/binding-invalid/input.svelte
similarity index 100%
rename from test/validator/samples/binding-invalid/input.html
rename to test/validator/samples/binding-invalid/input.svelte
diff --git a/test/validator/samples/binding-select-multiple-dynamic/input.html b/test/validator/samples/binding-select-multiple-dynamic/input.svelte
similarity index 100%
rename from test/validator/samples/binding-select-multiple-dynamic/input.html
rename to test/validator/samples/binding-select-multiple-dynamic/input.svelte
diff --git a/test/validator/samples/component-slot-default-duplicate.skip/input.html b/test/validator/samples/component-slot-default-duplicate.skip/input.svelte
similarity index 100%
rename from test/validator/samples/component-slot-default-duplicate.skip/input.html
rename to test/validator/samples/component-slot-default-duplicate.skip/input.svelte
diff --git a/test/validator/samples/component-slot-default-reserved/input.html b/test/validator/samples/component-slot-default-reserved/input.svelte
similarity index 100%
rename from test/validator/samples/component-slot-default-reserved/input.html
rename to test/validator/samples/component-slot-default-reserved/input.svelte
diff --git a/test/validator/samples/component-slot-dynamic-attribute/errors.json b/test/validator/samples/component-slot-dynamic-attribute/errors.json
index 6108b89bfb..8944f9cd3e 100644
--- a/test/validator/samples/component-slot-dynamic-attribute/errors.json
+++ b/test/validator/samples/component-slot-dynamic-attribute/errors.json
@@ -4,12 +4,12 @@
"start": {
"line": 6,
"column": 9,
- "character": 75
+ "character": 77
},
"end": {
"line": 6,
"column": 19,
- "character": 85
+ "character": 87
},
- "pos": 75
+ "pos": 77
}]
\ No newline at end of file
diff --git a/test/validator/samples/component-slot-dynamic-attribute/input.html b/test/validator/samples/component-slot-dynamic-attribute/input.svelte
similarity index 58%
rename from test/validator/samples/component-slot-dynamic-attribute/input.html
rename to test/validator/samples/component-slot-dynamic-attribute/input.svelte
index 83e1df8aa2..1eb8b4f1f0 100644
--- a/test/validator/samples/component-slot-dynamic-attribute/input.html
+++ b/test/validator/samples/component-slot-dynamic-attribute/input.svelte
@@ -1,5 +1,5 @@
diff --git a/test/validator/samples/component-slot-dynamic/input.html b/test/validator/samples/component-slot-dynamic/input.svelte
similarity index 100%
rename from test/validator/samples/component-slot-dynamic/input.html
rename to test/validator/samples/component-slot-dynamic/input.svelte
diff --git a/test/validator/samples/component-slot-named-duplicate.skip/input.html b/test/validator/samples/component-slot-named-duplicate.skip/input.svelte
similarity index 100%
rename from test/validator/samples/component-slot-named-duplicate.skip/input.html
rename to test/validator/samples/component-slot-named-duplicate.skip/input.svelte
diff --git a/test/validator/samples/component-slotted-each-block/errors.json b/test/validator/samples/component-slotted-each-block/errors.json
index b2ae858fb6..89f394bca4 100644
--- a/test/validator/samples/component-slotted-each-block/errors.json
+++ b/test/validator/samples/component-slotted-each-block/errors.json
@@ -4,12 +4,12 @@
"start": {
"line": 7,
"column": 7,
- "character": 98
+ "character": 100
},
"end": {
"line": 7,
"column": 17,
- "character": 108
+ "character": 110
},
- "pos": 98
+ "pos": 100
}]
\ No newline at end of file
diff --git a/test/validator/samples/component-slotted-each-block/input.html b/test/validator/samples/component-slotted-each-block/input.svelte
similarity index 66%
rename from test/validator/samples/component-slotted-each-block/input.html
rename to test/validator/samples/component-slotted-each-block/input.svelte
index 2c053a1e6c..f000278a99 100644
--- a/test/validator/samples/component-slotted-each-block/input.html
+++ b/test/validator/samples/component-slotted-each-block/input.svelte
@@ -1,5 +1,5 @@
diff --git a/test/validator/samples/component-slotted-if-block/errors.json b/test/validator/samples/component-slotted-if-block/errors.json
index bd3ef87fad..ab35a77fce 100644
--- a/test/validator/samples/component-slotted-if-block/errors.json
+++ b/test/validator/samples/component-slotted-if-block/errors.json
@@ -4,12 +4,12 @@
"start": {
"line": 7,
"column": 7,
- "character": 86
+ "character": 88
},
"end": {
"line": 7,
"column": 17,
- "character": 96
+ "character": 98
},
- "pos": 86
+ "pos": 88
}]
\ No newline at end of file
diff --git a/test/validator/samples/component-slotted-if-block/input.html b/test/validator/samples/component-slotted-if-block/input.svelte
similarity index 62%
rename from test/validator/samples/component-slotted-if-block/input.html
rename to test/validator/samples/component-slotted-if-block/input.svelte
index eda6bc2e13..d9159dfd60 100644
--- a/test/validator/samples/component-slotted-if-block/input.html
+++ b/test/validator/samples/component-slotted-if-block/input.svelte
@@ -1,5 +1,5 @@
diff --git a/test/validator/samples/css-invalid-global-placement/input.html b/test/validator/samples/css-invalid-global-placement/input.svelte
similarity index 100%
rename from test/validator/samples/css-invalid-global-placement/input.html
rename to test/validator/samples/css-invalid-global-placement/input.svelte
diff --git a/test/validator/samples/css-invalid-global/input.html b/test/validator/samples/css-invalid-global/input.svelte
similarity index 100%
rename from test/validator/samples/css-invalid-global/input.html
rename to test/validator/samples/css-invalid-global/input.svelte
diff --git a/test/validator/samples/debug-invalid-args/input.html b/test/validator/samples/debug-invalid-args/input.svelte
similarity index 100%
rename from test/validator/samples/debug-invalid-args/input.html
rename to test/validator/samples/debug-invalid-args/input.svelte
diff --git a/test/validator/samples/default-export/input.html b/test/validator/samples/default-export/input.svelte
similarity index 100%
rename from test/validator/samples/default-export/input.html
rename to test/validator/samples/default-export/input.svelte
diff --git a/test/validator/samples/directive-non-expression/input.html b/test/validator/samples/directive-non-expression/input.svelte
similarity index 100%
rename from test/validator/samples/directive-non-expression/input.html
rename to test/validator/samples/directive-non-expression/input.svelte
diff --git a/test/validator/samples/each-block-invalid-context-destructured/input.html b/test/validator/samples/each-block-invalid-context-destructured/input.svelte
similarity index 100%
rename from test/validator/samples/each-block-invalid-context-destructured/input.html
rename to test/validator/samples/each-block-invalid-context-destructured/input.svelte
diff --git a/test/validator/samples/each-block-invalid-context/input.html b/test/validator/samples/each-block-invalid-context/input.svelte
similarity index 100%
rename from test/validator/samples/each-block-invalid-context/input.html
rename to test/validator/samples/each-block-invalid-context/input.svelte
diff --git a/test/validator/samples/each-block-multiple-children/input.html b/test/validator/samples/each-block-multiple-children/input.svelte
similarity index 100%
rename from test/validator/samples/each-block-multiple-children/input.html
rename to test/validator/samples/each-block-multiple-children/input.svelte
diff --git a/test/validator/samples/empty-block-dev/input.html b/test/validator/samples/empty-block-dev/input.svelte
similarity index 100%
rename from test/validator/samples/empty-block-dev/input.html
rename to test/validator/samples/empty-block-dev/input.svelte
diff --git a/test/validator/samples/empty-block-prod/input.html b/test/validator/samples/empty-block-prod/input.svelte
similarity index 100%
rename from test/validator/samples/empty-block-prod/input.html
rename to test/validator/samples/empty-block-prod/input.svelte
diff --git a/test/validator/samples/event-modifiers-invalid-passive/input.html b/test/validator/samples/event-modifiers-invalid-passive/input.svelte
similarity index 100%
rename from test/validator/samples/event-modifiers-invalid-passive/input.html
rename to test/validator/samples/event-modifiers-invalid-passive/input.svelte
diff --git a/test/validator/samples/event-modifiers-invalid/input.html b/test/validator/samples/event-modifiers-invalid/input.svelte
similarity index 100%
rename from test/validator/samples/event-modifiers-invalid/input.html
rename to test/validator/samples/event-modifiers-invalid/input.svelte
diff --git a/test/validator/samples/event-modifiers-legacy/input.html b/test/validator/samples/event-modifiers-legacy/input.svelte
similarity index 100%
rename from test/validator/samples/event-modifiers-legacy/input.html
rename to test/validator/samples/event-modifiers-legacy/input.svelte
diff --git a/test/validator/samples/event-modifiers-redundant/input.html b/test/validator/samples/event-modifiers-redundant/input.svelte
similarity index 100%
rename from test/validator/samples/event-modifiers-redundant/input.html
rename to test/validator/samples/event-modifiers-redundant/input.svelte
diff --git a/test/validator/samples/missing-component/input.html b/test/validator/samples/missing-component/input.svelte
similarity index 100%
rename from test/validator/samples/missing-component/input.html
rename to test/validator/samples/missing-component/input.svelte
diff --git a/test/validator/samples/multiple-script-default-context/input.html b/test/validator/samples/multiple-script-default-context/input.svelte
similarity index 100%
rename from test/validator/samples/multiple-script-default-context/input.html
rename to test/validator/samples/multiple-script-default-context/input.svelte
diff --git a/test/validator/samples/multiple-script-module-context/input.html b/test/validator/samples/multiple-script-module-context/input.svelte
similarity index 100%
rename from test/validator/samples/multiple-script-module-context/input.html
rename to test/validator/samples/multiple-script-module-context/input.svelte
diff --git a/test/validator/samples/namespace-invalid-unguessable/input.html b/test/validator/samples/namespace-invalid-unguessable/input.svelte
similarity index 100%
rename from test/validator/samples/namespace-invalid-unguessable/input.html
rename to test/validator/samples/namespace-invalid-unguessable/input.svelte
diff --git a/test/validator/samples/namespace-invalid/input.html b/test/validator/samples/namespace-invalid/input.svelte
similarity index 100%
rename from test/validator/samples/namespace-invalid/input.html
rename to test/validator/samples/namespace-invalid/input.svelte
diff --git a/test/validator/samples/namespace-non-literal/input.html b/test/validator/samples/namespace-non-literal/input.svelte
similarity index 100%
rename from test/validator/samples/namespace-non-literal/input.html
rename to test/validator/samples/namespace-non-literal/input.svelte
diff --git a/test/validator/samples/non-empty-block-dev/input.html b/test/validator/samples/non-empty-block-dev/input.svelte
similarity index 100%
rename from test/validator/samples/non-empty-block-dev/input.html
rename to test/validator/samples/non-empty-block-dev/input.svelte
diff --git a/test/validator/samples/prop-slot/errors.json b/test/validator/samples/prop-slot/errors.json
index 01e864b542..4fbfa3935c 100644
--- a/test/validator/samples/prop-slot/errors.json
+++ b/test/validator/samples/prop-slot/errors.json
@@ -4,12 +4,12 @@
"start": {
"line": 5,
"column": 8,
- "character": 65
+ "character": 67
},
"end": {
"line": 5,
"column": 18,
- "character": 75
+ "character": 77
},
- "pos": 65
+ "pos": 67
}]
diff --git a/test/validator/samples/prop-slot/input.html b/test/validator/samples/prop-slot/input.svelte
similarity index 51%
rename from test/validator/samples/prop-slot/input.html
rename to test/validator/samples/prop-slot/input.svelte
index 6ce1b6dcce..816c656aa0 100644
--- a/test/validator/samples/prop-slot/input.html
+++ b/test/validator/samples/prop-slot/input.svelte
@@ -1,5 +1,5 @@
diff --git a/test/validator/samples/reactive-declaration-cyclical/input.html b/test/validator/samples/reactive-declaration-cyclical/input.svelte
similarity index 100%
rename from test/validator/samples/reactive-declaration-cyclical/input.html
rename to test/validator/samples/reactive-declaration-cyclical/input.svelte
diff --git a/test/validator/samples/ref-not-supported-in-css/input.html b/test/validator/samples/ref-not-supported-in-css/input.svelte
similarity index 100%
rename from test/validator/samples/ref-not-supported-in-css/input.html
rename to test/validator/samples/ref-not-supported-in-css/input.svelte
diff --git a/test/validator/samples/ref-not-supported/input.html b/test/validator/samples/ref-not-supported/input.svelte
similarity index 100%
rename from test/validator/samples/ref-not-supported/input.html
rename to test/validator/samples/ref-not-supported/input.svelte
diff --git a/test/validator/samples/script-invalid-context/input.html b/test/validator/samples/script-invalid-context/input.svelte
similarity index 100%
rename from test/validator/samples/script-invalid-context/input.html
rename to test/validator/samples/script-invalid-context/input.svelte
diff --git a/test/validator/samples/select-multiple/input.html b/test/validator/samples/select-multiple/input.svelte
similarity index 100%
rename from test/validator/samples/select-multiple/input.html
rename to test/validator/samples/select-multiple/input.svelte
diff --git a/test/validator/samples/slot-attribute-invalid/input.html b/test/validator/samples/slot-attribute-invalid/input.svelte
similarity index 100%
rename from test/validator/samples/slot-attribute-invalid/input.html
rename to test/validator/samples/slot-attribute-invalid/input.svelte
diff --git a/test/validator/samples/svg-child-component-declared-namespace/input.html b/test/validator/samples/svg-child-component-declared-namespace/input.svelte
similarity index 100%
rename from test/validator/samples/svg-child-component-declared-namespace/input.html
rename to test/validator/samples/svg-child-component-declared-namespace/input.svelte
diff --git a/test/validator/samples/svg-child-component-undeclared-namespace/input.html b/test/validator/samples/svg-child-component-undeclared-namespace/input.svelte
similarity index 100%
rename from test/validator/samples/svg-child-component-undeclared-namespace/input.html
rename to test/validator/samples/svg-child-component-undeclared-namespace/input.svelte
diff --git a/test/validator/samples/tag-invalid/input.html b/test/validator/samples/tag-invalid/input.svelte
similarity index 100%
rename from test/validator/samples/tag-invalid/input.html
rename to test/validator/samples/tag-invalid/input.svelte
diff --git a/test/validator/samples/tag-non-string/input.html b/test/validator/samples/tag-non-string/input.svelte
similarity index 100%
rename from test/validator/samples/tag-non-string/input.html
rename to test/validator/samples/tag-non-string/input.svelte
diff --git a/test/validator/samples/textarea-value-children/input.html b/test/validator/samples/textarea-value-children/input.svelte
similarity index 100%
rename from test/validator/samples/textarea-value-children/input.html
rename to test/validator/samples/textarea-value-children/input.svelte
diff --git a/test/validator/samples/title-no-attributes/input.html b/test/validator/samples/title-no-attributes/input.svelte
similarity index 100%
rename from test/validator/samples/title-no-attributes/input.html
rename to test/validator/samples/title-no-attributes/input.svelte
diff --git a/test/validator/samples/title-no-children/input.html b/test/validator/samples/title-no-children/input.svelte
similarity index 100%
rename from test/validator/samples/title-no-children/input.html
rename to test/validator/samples/title-no-children/input.svelte
diff --git a/test/validator/samples/transition-duplicate-in-transition/input.html b/test/validator/samples/transition-duplicate-in-transition/input.svelte
similarity index 100%
rename from test/validator/samples/transition-duplicate-in-transition/input.html
rename to test/validator/samples/transition-duplicate-in-transition/input.svelte
diff --git a/test/validator/samples/transition-duplicate-in/input.html b/test/validator/samples/transition-duplicate-in/input.svelte
similarity index 100%
rename from test/validator/samples/transition-duplicate-in/input.html
rename to test/validator/samples/transition-duplicate-in/input.svelte
diff --git a/test/validator/samples/transition-duplicate-out-transition/input.html b/test/validator/samples/transition-duplicate-out-transition/input.svelte
similarity index 100%
rename from test/validator/samples/transition-duplicate-out-transition/input.html
rename to test/validator/samples/transition-duplicate-out-transition/input.svelte
diff --git a/test/validator/samples/transition-duplicate-out/input.html b/test/validator/samples/transition-duplicate-out/input.svelte
similarity index 100%
rename from test/validator/samples/transition-duplicate-out/input.html
rename to test/validator/samples/transition-duplicate-out/input.svelte
diff --git a/test/validator/samples/transition-duplicate-transition-in/input.html b/test/validator/samples/transition-duplicate-transition-in/input.svelte
similarity index 100%
rename from test/validator/samples/transition-duplicate-transition-in/input.html
rename to test/validator/samples/transition-duplicate-transition-in/input.svelte
diff --git a/test/validator/samples/transition-duplicate-transition-out/input.html b/test/validator/samples/transition-duplicate-transition-out/input.svelte
similarity index 100%
rename from test/validator/samples/transition-duplicate-transition-out/input.html
rename to test/validator/samples/transition-duplicate-transition-out/input.svelte
diff --git a/test/validator/samples/transition-duplicate-transition/input.html b/test/validator/samples/transition-duplicate-transition/input.svelte
similarity index 100%
rename from test/validator/samples/transition-duplicate-transition/input.html
rename to test/validator/samples/transition-duplicate-transition/input.svelte
diff --git a/test/validator/samples/transition-missing/input.html b/test/validator/samples/transition-missing/input.svelte
similarity index 100%
rename from test/validator/samples/transition-missing/input.html
rename to test/validator/samples/transition-missing/input.svelte
diff --git a/test/validator/samples/transition-on-component/errors.json b/test/validator/samples/transition-on-component/errors.json
index bee8bf7539..400539f8e6 100644
--- a/test/validator/samples/transition-on-component/errors.json
+++ b/test/validator/samples/transition-on-component/errors.json
@@ -4,12 +4,12 @@
"start": {
"line": 7,
"column": 8,
- "character": 85
+ "character": 87
},
"end": {
"line": 7,
"column": 14,
- "character": 91
+ "character": 93
},
- "pos": 85
+ "pos": 87
}]
\ No newline at end of file
diff --git a/test/validator/samples/transition-on-component/input.html b/test/validator/samples/transition-on-component/input.html
deleted file mode 100644
index 392f346424..0000000000
--- a/test/validator/samples/transition-on-component/input.html
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/test/validator/samples/transition-on-component/input.svelte b/test/validator/samples/transition-on-component/input.svelte
new file mode 100644
index 0000000000..12c3cd9bf8
--- /dev/null
+++ b/test/validator/samples/transition-on-component/input.svelte
@@ -0,0 +1,7 @@
+
+
+
\ No newline at end of file
diff --git a/test/validator/samples/undefined-value/input.html b/test/validator/samples/undefined-value/input.svelte
similarity index 100%
rename from test/validator/samples/undefined-value/input.html
rename to test/validator/samples/undefined-value/input.svelte
diff --git a/test/validator/samples/window-binding-invalid-innerwidth/input.html b/test/validator/samples/window-binding-invalid-innerwidth/input.svelte
similarity index 100%
rename from test/validator/samples/window-binding-invalid-innerwidth/input.html
rename to test/validator/samples/window-binding-invalid-innerwidth/input.svelte
diff --git a/test/validator/samples/window-binding-invalid-value/input.html b/test/validator/samples/window-binding-invalid-value/input.svelte
similarity index 100%
rename from test/validator/samples/window-binding-invalid-value/input.html
rename to test/validator/samples/window-binding-invalid-value/input.svelte
diff --git a/test/validator/samples/window-binding-invalid-width/input.html b/test/validator/samples/window-binding-invalid-width/input.svelte
similarity index 100%
rename from test/validator/samples/window-binding-invalid-width/input.html
rename to test/validator/samples/window-binding-invalid-width/input.svelte
diff --git a/test/validator/samples/window-binding-invalid/input.html b/test/validator/samples/window-binding-invalid/input.svelte
similarity index 100%
rename from test/validator/samples/window-binding-invalid/input.html
rename to test/validator/samples/window-binding-invalid/input.svelte
diff --git a/test/validator/samples/window-binding-online/input.html b/test/validator/samples/window-binding-online/input.svelte
similarity index 100%
rename from test/validator/samples/window-binding-online/input.html
rename to test/validator/samples/window-binding-online/input.svelte