update tests

pull/4136/head
Conduitry 6 years ago
parent 1c8329e15d
commit b1b48bc7f4

@ -1,6 +1,6 @@
{ {
"code": "unclosed-open-tag", "code": "invalid-catch-placement",
"message": "Expect to close {#each} block before {:catch} block", "message": "Expected to close {#each} block before seeing {:catch} block",
"start": { "line": 3, "column": 9, "character": 44 }, "start": { "line": 3, "column": 7, "character": 41 },
"pos": 44 "pos": 41
} }

@ -1,6 +1,6 @@
{ {
"code": "unclosed-open-tag", "code": "invalid-else-placement",
"message": "Expect to close {#await} block before {:else} block", "message": "Expected to close {#await} block before seeing {:else} block",
"start": { "line": 3, "column": 8, "character": 32 }, "start": { "line": 3, "column": 6, "character": 29 },
"pos": 32 "pos": 29
} }

@ -1,6 +1,6 @@
{ {
"code": "unclosed-open-tag", "code": "invalid-else-placement",
"message": "Expect to close <li> tag before {:else} block", "message": "Expected to close <li> tag before seeing {:else} block",
"start": { "line": 3, "column": 8, "character": 26 }, "start": { "line": 3, "column": 6, "character": 23 },
"pos": 26 "pos": 23
} }

@ -1,6 +1,6 @@
{ {
"code": "unclosed-open-tag", "code": "invalid-elseif-placement",
"message": "Expect to close <p> tag before {:else if ...} block", "message": "Expected to close <p> tag before seeing {:else if ...} block",
"start": { "line": 3, "column": 11, "character": 28 }, "start": { "line": 3, "column": 9, "character": 25 },
"pos": 28 "pos": 25
} }

@ -1,6 +1,6 @@
{ {
"code": "unclosed-open-tag", "code": "invalid-elseif-placement",
"message": "Expect to close {#await} block before {:else if ...} block", "message": "Expected to close {#await} block before seeing {:else if ...} block",
"start": { "line": 3, "column": 11, "character": 37 }, "start": { "line": 3, "column": 9, "character": 34 },
"pos": 37 "pos": 34
} }

@ -1,6 +1,6 @@
{ {
"code": "invalid-elseif-placement", "code": "invalid-elseif-placement",
"message": "Cannot have an {:else if ...} block outside an {#if ...} block", "message": "Cannot have an {:else if ...} block outside an {#if ...} block",
"start": { "line": 3, "column": 11, "character": 36 }, "start": { "line": 3, "column": 10, "character": 35 },
"pos": 36 "pos": 35
} }

@ -1,6 +1,6 @@
{ {
"code": "unclosed-open-tag", "code": "invalid-then-placement",
"message": "Expect to close <li> tag before {:then} block", "message": "Expected to close <li> tag before seeing {:then} block",
"start": { "line": 3, "column": 8, "character": 29 }, "start": { "line": 3, "column": 6, "character": 26 },
"pos": 29 "pos": 26
} }

@ -17,7 +17,7 @@
}, },
"children": [ "children": [
{ {
"start": 11, "start": 12,
"end": 19, "end": 19,
"type": "Element", "type": "Element",
"name": "input", "name": "input",
@ -52,7 +52,7 @@
}, },
"children": [ "children": [
{ {
"start": 46, "start": 47,
"end": 51, "end": 51,
"type": "Element", "type": "Element",
"name": "br", "name": "br",
@ -94,13 +94,13 @@
"children": [ "children": [
{ {
"start": 80, "start": 80,
"end": 81, "end": 82,
"type": "Text", "type": "Text",
"raw": "\n", "raw": "\n\t",
"data": "\n" "data": "\n\t"
}, },
{ {
"start": 81, "start": 82,
"end": 89, "end": 89,
"type": "Element", "type": "Element",
"name": "input", "name": "input",
@ -167,13 +167,13 @@
"children": [ "children": [
{ {
"start": 123, "start": 123,
"end": 124, "end": 125,
"type": "Text", "type": "Text",
"raw": "\n", "raw": "\n\t",
"data": "\n" "data": "\n\t"
}, },
{ {
"start": 124, "start": 125,
"end": 129, "end": 129,
"type": "Element", "type": "Element",
"name": "br", "name": "br",

Loading…
Cancel
Save