1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/tests/specs/fmt/html
Bartek Iwańczuk 6c26c1ed96
feat(fmt): better error on malfored HTML files (#25853)
Improves syntax errors for HTML formatter.

`broken.html`

```html
<div class=container > content 
```

```
$ deno fmt broken.html
Error formatting: /Users/ib/dev/deno/tests/specs/fmt/html/broken.html
   syntax error 'expect close tag' at line 3, column 0
Checked 1 file
```

```
$ ./target/debug/deno fmt broken.html
Error formatting: /Users/ib/dev/deno/tests/specs/fmt/html/broken.html
   Syntax error (expect close tag) at file:///Users/ib/dev/deno/tests/specs/fmt/html/broken.html:3:0

Checked 1 file
```
2024-09-25 01:00:16 +00:00
..
__test__.jsonc feat(fmt): better error on malfored HTML files (#25853) 2024-09-25 01:00:16 +00:00
badly_formatted.html feat(fmt): stabilize CSS, HTML and YAML formatters (#25753) 2024-09-23 18:01:04 +02:00
broken.html feat(fmt): better error on malfored HTML files (#25853) 2024-09-25 01:00:16 +00:00
broken.out feat(fmt): better error on malfored HTML files (#25853) 2024-09-25 01:00:16 +00:00
well_formatted.html fix(fmt): --check was broken for CSS, YAML and HTML (#25848) 2024-09-24 15:54:48 +02:00