swc/crates/swc_html_parser/tests/recovery/element/unknown/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

16 lines
347 B
Plaintext

x Stray end tag "unknown"
,-[$DIR/tests/recovery/element/unknown/input.html:10:1]
10 | <body>
11 | </unknown>
: ^^^^^^^^^^
`----
x Stray end tag "test"
,-[$DIR/tests/recovery/element/unknown/input.html:12:1]
12 |
13 | <unknown>Test</test>Test</unknown>
: ^^^^^^^
14 | </body>
`----