swc/crates/swc_html_parser/tests/recovery/attribute/missing-value/output.stderr
Donny/강동윤 b8fe04f720
feat(common): Add contexts to the error messages (#6526)
**Description:**

This PR makes the error reporter print contexts.

**Related issue:**

 - https://github.com/swc-project/swc/issues/6525.
2022-11-29 00:56:47 +09:00

44 lines
1.0 KiB
Plaintext

x Start tag seen without seeing a doctype first, expected "<!DOCTYPE html>"
,-[$DIR/tests/recovery/attribute/missing-value/input.html:1:1]
1 | <div>test</div>
: ^^^^^
2 | <a a=>
`----
x Missing attribute value
,-[$DIR/tests/recovery/attribute/missing-value/input.html:1:1]
1 | <div>test</div>
2 | <a a=>
: ^
3 | <div>test</div>
`----
x Unexpected equals sign before attribute name
,-[$DIR/tests/recovery/attribute/missing-value/input.html:3:1]
3 | <div>test</div>
4 | <z ====>
: ^
`----
x Unexpected character in unquoted attribute value
,-[$DIR/tests/recovery/attribute/missing-value/input.html:3:1]
3 | <div>test</div>
4 | <z ====>
: ^
`----
x Unexpected character in unquoted attribute value
,-[$DIR/tests/recovery/attribute/missing-value/input.html:3:1]
3 | <div>test</div>
4 | <z ====>
: ^
`----
x End of file seen and there were open elements
,-[$DIR/tests/recovery/attribute/missing-value/input.html:3:1]
3 | <div>test</div>
4 | <z ====>
: ^
`----