summaryrefslogtreecommitdiff
path: root/tests/specs/fmt/unstable_html
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-09-23 17:01:04 +0100
committerGitHub <noreply@github.com>2024-09-23 18:01:04 +0200
commita7ac89935b092f86245ce0370042f4bef14ad82d (patch)
tree01a3cba6b7f83c65e0318a8e7eef69d46a7f82ed /tests/specs/fmt/unstable_html
parentbe13da5d8d08c105e73bc966f681a02b863903d1 (diff)
feat(fmt): stabilize CSS, HTML and YAML formatters (#25753)
This commits stabilizes CSS, HTML and YAML formatters in `deno fmt`. It is no longer required to use either of these flags: - `--unstable-css` - `--unstable-html` - `--unstable-yaml` Or these `unstable` options in the config file: - `fmt-css` - `fmt-html` - `html-yaml`
Diffstat (limited to 'tests/specs/fmt/unstable_html')
-rw-r--r--tests/specs/fmt/unstable_html/__test__.jsonc25
-rw-r--r--tests/specs/fmt/unstable_html/badly_formatted.html9
2 files changed, 0 insertions, 34 deletions
diff --git a/tests/specs/fmt/unstable_html/__test__.jsonc b/tests/specs/fmt/unstable_html/__test__.jsonc
deleted file mode 100644
index 2394805ad..000000000
--- a/tests/specs/fmt/unstable_html/__test__.jsonc
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "tempDir": true,
- "tests": {
- "nothing": {
- "args": "fmt",
- "output": "Checked 1 file\n"
- },
- "flag": {
- "args": "fmt --unstable-css --unstable-html",
- "output": "[WILDLINE]badly_formatted.html\nChecked 1 file\n"
- },
- "config_file": {
- "steps": [{
- "args": [
- "eval",
- "Deno.writeTextFile('deno.json', '{\\n \"unstable\": [\"fmt-css\", \"fmt-html\"]\\n}\\n')"
- ],
- "output": "[WILDCARD]"
- }, {
- "args": "fmt",
- "output": "[WILDLINE]badly_formatted.html\nChecked 2 files\n"
- }]
- }
- }
-}
diff --git a/tests/specs/fmt/unstable_html/badly_formatted.html b/tests/specs/fmt/unstable_html/badly_formatted.html
deleted file mode 100644
index de7706ac7..000000000
--- a/tests/specs/fmt/unstable_html/badly_formatted.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<div class=container > content </div>
-
-<script>
-let counter=0
-</script>
-
-<style>
-.container{padding:8px}
-</style>