Skip to content

Commit

Permalink
Update test refs
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Nov 28, 2022
1 parent a8f018b commit 942af3f
Show file tree
Hide file tree
Showing 254 changed files with 16,088 additions and 11,912 deletions.
222 changes: 127 additions & 95 deletions crates/swc_html_parser/tests/fixture/attribute/basic/span.rust-debug
Expand Up @@ -38,7 +38,7 @@
35 | | <a href="http://host/?x=1&#38;y=2">test</a>
36 | |
37 | | </body>
38 | `-> </html>
38 | | </html>
`----

x Child
Expand Down Expand Up @@ -91,7 +91,7 @@
35 | | <a href="http://host/?x=1&#38;y=2">test</a>
36 | |
37 | | </body>
38 | `-> </html>
38 | | </html>
`----

x Element
Expand Down Expand Up @@ -132,7 +132,7 @@
35 | | <a href="http://host/?x=1&#38;y=2">test</a>
36 | |
37 | | </body>
38 | `-> </html>
38 | | </html>
`----

x Attribute
Expand Down Expand Up @@ -168,40 +168,46 @@
`----

x Child
,-[$DIR/tests/fixture/attribute/basic/input.html:4:5]
4 | <title>Document</title>
: ^^^^^^^^^^^^^^^^^^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:3:4]
3 | ad>
4 | <title>Document</title>
: ^^^^^^^^^^^^^^^^^^^^^^^
`----

x Element
,-[$DIR/tests/fixture/attribute/basic/input.html:4:5]
4 | <title>Document</title>
: ^^^^^^^^^^^^^^^^^^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:3:4]
3 | ad>
4 | <title>Document</title>
: ^^^^^^^^^^^^^^^^^^^^^^^
`----

x Child
,-[$DIR/tests/fixture/attribute/basic/input.html:4:5]
4 | <title>Document</title>
: ^^^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:3:4]
3 | ad>
4 | <title>Document</title>
: ^^^^^^^^
`----

x Text
,-[$DIR/tests/fixture/attribute/basic/input.html:4:5]
4 | <title>Document</title>
: ^^^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:3:4]
3 | ad>
4 | <title>Document</title>
: ^^^^^^^^
`----

x Child
,-[$DIR/tests/fixture/attribute/basic/input.html:4:5]
4 | <title>Document</title>
: ^
,-[$DIR/tests/fixture/attribute/basic/input.html:3:4]
3 | ad>
4 | <title>Document</title>
: ^
5 | </head>
`----

x Text
,-[$DIR/tests/fixture/attribute/basic/input.html:4:5]
4 | <title>Document</title>
: ^
,-[$DIR/tests/fixture/attribute/basic/input.html:3:4]
3 | ad>
4 | <title>Document</title>
: ^
5 | </head>
`----

Expand Down Expand Up @@ -253,7 +259,7 @@
35 | | <a href="http://host/?x=1&#38;y=2">test</a>
36 | |
37 | | </body>
38 | `-> </html>
38 | | </html>
`----

x Element
Expand Down Expand Up @@ -290,7 +296,7 @@
35 | | <a href="http://host/?x=1&#38;y=2">test</a>
36 | |
37 | | </body>
38 | `-> </html>
38 | | </html>
`----

x Child
Expand Down Expand Up @@ -738,8 +744,10 @@
`----

x Attribute
,-[$DIR/tests/fixture/attribute/basic/input.html:14:9]
14 | ,-> src
,-[$DIR/tests/fixture/attribute/basic/input.html:12:34]
12 | ">
13 | <img
14 | ,-> src
15 | | =
16 | `-> "test"
`----
Expand Down Expand Up @@ -999,148 +1007,172 @@
`----

x Child
,-[$DIR/tests/fixture/attribute/basic/input.html:29:5]
29 | <text y="20" xml:space="default">Default spacing</text>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:28:59]
28 | g">
29 | <text y="20" xml:space="default">Default spacing</text>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----

x Element
,-[$DIR/tests/fixture/attribute/basic/input.html:29:5]
29 | <text y="20" xml:space="default">Default spacing</text>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:28:59]
28 | g">
29 | <text y="20" xml:space="default">Default spacing</text>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----

x Attribute
,-[$DIR/tests/fixture/attribute/basic/input.html:29:5]
29 | <text y="20" xml:space="default">Default spacing</text>
: ^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:28:59]
28 | g">
29 | <text y="20" xml:space="default">Default spacing</text>
: ^^^^^^
`----

x Attribute
,-[$DIR/tests/fixture/attribute/basic/input.html:29:5]
29 | <text y="20" xml:space="default">Default spacing</text>
: ^^^^^^^^^^^^^^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:28:59]
28 | g">
29 | <text y="20" xml:space="default">Default spacing</text>
: ^^^^^^^^^^^^^^^^^^^
`----

x Child
,-[$DIR/tests/fixture/attribute/basic/input.html:29:5]
29 | <text y="20" xml:space="default">Default spacing</text>
: ^^^^^^^^^^^^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:28:59]
28 | g">
29 | <text y="20" xml:space="default">Default spacing</text>
: ^^^^^^^^^^^^^^^^^
`----

x Text
,-[$DIR/tests/fixture/attribute/basic/input.html:29:5]
29 | <text y="20" xml:space="default">Default spacing</text>
: ^^^^^^^^^^^^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:28:59]
28 | g">
29 | <text y="20" xml:space="default">Default spacing</text>
: ^^^^^^^^^^^^^^^^^
`----

x Child
,-[$DIR/tests/fixture/attribute/basic/input.html:29:5]
29 | ,-> <text y="20" xml:space="default">Default spacing</text>
,-[$DIR/tests/fixture/attribute/basic/input.html:28:59]
28 | g">
29 | ,-> <text y="20" xml:space="default">Default spacing</text>
30 | `-> <text y="20" XML:SPACE="default">Default spacing</text>
`----

x Text
,-[$DIR/tests/fixture/attribute/basic/input.html:29:5]
29 | ,-> <text y="20" xml:space="default">Default spacing</text>
,-[$DIR/tests/fixture/attribute/basic/input.html:28:59]
28 | g">
29 | ,-> <text y="20" xml:space="default">Default spacing</text>
30 | `-> <text y="20" XML:SPACE="default">Default spacing</text>
`----

x Child
,-[$DIR/tests/fixture/attribute/basic/input.html:30:5]
30 | <text y="20" XML:SPACE="default">Default spacing</text>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:29:59]
29 | xt>
30 | <text y="20" XML:SPACE="default">Default spacing</text>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----

x Element
,-[$DIR/tests/fixture/attribute/basic/input.html:30:5]
30 | <text y="20" XML:SPACE="default">Default spacing</text>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:29:59]
29 | xt>
30 | <text y="20" XML:SPACE="default">Default spacing</text>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----

x Attribute
,-[$DIR/tests/fixture/attribute/basic/input.html:30:5]
30 | <text y="20" XML:SPACE="default">Default spacing</text>
: ^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:29:59]
29 | xt>
30 | <text y="20" XML:SPACE="default">Default spacing</text>
: ^^^^^^
`----

x Attribute
,-[$DIR/tests/fixture/attribute/basic/input.html:30:5]
30 | <text y="20" XML:SPACE="default">Default spacing</text>
: ^^^^^^^^^^^^^^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:29:59]
29 | xt>
30 | <text y="20" XML:SPACE="default">Default spacing</text>
: ^^^^^^^^^^^^^^^^^^^
`----

x Child
,-[$DIR/tests/fixture/attribute/basic/input.html:30:5]
30 | <text y="20" XML:SPACE="default">Default spacing</text>
: ^^^^^^^^^^^^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:29:59]
29 | xt>
30 | <text y="20" XML:SPACE="default">Default spacing</text>
: ^^^^^^^^^^^^^^^^^
`----

x Text
,-[$DIR/tests/fixture/attribute/basic/input.html:30:5]
30 | <text y="20" XML:SPACE="default">Default spacing</text>
: ^^^^^^^^^^^^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:29:59]
29 | xt>
30 | <text y="20" XML:SPACE="default">Default spacing</text>
: ^^^^^^^^^^^^^^^^^
`----

x Child
,-[$DIR/tests/fixture/attribute/basic/input.html:30:5]
30 | ,-> <text y="20" XML:SPACE="default">Default spacing</text>
,-[$DIR/tests/fixture/attribute/basic/input.html:29:59]
29 | xt>
30 | ,-> <text y="20" XML:SPACE="default">Default spacing</text>
31 | `-> <text y="40" xml:space="preserve">Preserved spacing</text>
`----

x Text
,-[$DIR/tests/fixture/attribute/basic/input.html:30:5]
30 | ,-> <text y="20" XML:SPACE="default">Default spacing</text>
,-[$DIR/tests/fixture/attribute/basic/input.html:29:59]
29 | xt>
30 | ,-> <text y="20" XML:SPACE="default">Default spacing</text>
31 | `-> <text y="40" xml:space="preserve">Preserved spacing</text>
`----

x Child
,-[$DIR/tests/fixture/attribute/basic/input.html:31:5]
31 | <text y="40" xml:space="preserve">Preserved spacing</text>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:30:59]
30 | xt>
31 | <text y="40" xml:space="preserve">Preserved spacing</text>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----

x Element
,-[$DIR/tests/fixture/attribute/basic/input.html:31:5]
31 | <text y="40" xml:space="preserve">Preserved spacing</text>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:30:59]
30 | xt>
31 | <text y="40" xml:space="preserve">Preserved spacing</text>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----

x Attribute
,-[$DIR/tests/fixture/attribute/basic/input.html:31:5]
31 | <text y="40" xml:space="preserve">Preserved spacing</text>
: ^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:30:59]
30 | xt>
31 | <text y="40" xml:space="preserve">Preserved spacing</text>
: ^^^^^^
`----

x Attribute
,-[$DIR/tests/fixture/attribute/basic/input.html:31:5]
31 | <text y="40" xml:space="preserve">Preserved spacing</text>
: ^^^^^^^^^^^^^^^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:30:59]
30 | xt>
31 | <text y="40" xml:space="preserve">Preserved spacing</text>
: ^^^^^^^^^^^^^^^^^^^^
`----

x Child
,-[$DIR/tests/fixture/attribute/basic/input.html:31:5]
31 | <text y="40" xml:space="preserve">Preserved spacing</text>
: ^^^^^^^^^^^^^^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:30:59]
30 | xt>
31 | <text y="40" xml:space="preserve">Preserved spacing</text>
: ^^^^^^^^^^^^^^^^^^^
`----

x Text
,-[$DIR/tests/fixture/attribute/basic/input.html:31:5]
31 | <text y="40" xml:space="preserve">Preserved spacing</text>
: ^^^^^^^^^^^^^^^^^^^
,-[$DIR/tests/fixture/attribute/basic/input.html:30:59]
30 | xt>
31 | <text y="40" xml:space="preserve">Preserved spacing</text>
: ^^^^^^^^^^^^^^^^^^^
`----

x Child
,-[$DIR/tests/fixture/attribute/basic/input.html:31:5]
31 | <text y="40" xml:space="preserve">Preserved spacing</text>
: ^
,-[$DIR/tests/fixture/attribute/basic/input.html:30:59]
30 | xt>
31 | <text y="40" xml:space="preserve">Preserved spacing</text>
: ^
32 | </svg>
`----

x Text
,-[$DIR/tests/fixture/attribute/basic/input.html:31:5]
31 | <text y="40" xml:space="preserve">Preserved spacing</text>
: ^
,-[$DIR/tests/fixture/attribute/basic/input.html:30:59]
30 | xt>
31 | <text y="40" xml:space="preserve">Preserved spacing</text>
: ^
32 | </svg>
`----

Expand Down Expand Up @@ -1225,13 +1257,13 @@
35 | ,-> <a href="http://host/?x=1&#38;y=2">test</a>
36 | |
37 | | </body>
38 | `-> </html>
38 | | </html>
`----

x Text
,-[$DIR/tests/fixture/attribute/basic/input.html:35:1]
35 | ,-> <a href="http://host/?x=1&#38;y=2">test</a>
36 | |
37 | | </body>
38 | `-> </html>
38 | | </html>
`----

0 comments on commit 942af3f

Please sign in to comment.