diff options
Diffstat (limited to 'tests/specs/fmt/astro_file_with_css_comment')
-rw-r--r-- | tests/specs/fmt/astro_file_with_css_comment/__test__.jsonc | 5 | ||||
-rw-r--r-- | tests/specs/fmt/astro_file_with_css_comment/fmt.out | 2 | ||||
-rw-r--r-- | tests/specs/fmt/astro_file_with_css_comment/main.astro | 8 |
3 files changed, 15 insertions, 0 deletions
diff --git a/tests/specs/fmt/astro_file_with_css_comment/__test__.jsonc b/tests/specs/fmt/astro_file_with_css_comment/__test__.jsonc new file mode 100644 index 000000000..295d2c2c3 --- /dev/null +++ b/tests/specs/fmt/astro_file_with_css_comment/__test__.jsonc @@ -0,0 +1,5 @@ +{ + "tempDir": true, + "args": "fmt --unstable-component", + "output": "fmt.out" +} diff --git a/tests/specs/fmt/astro_file_with_css_comment/fmt.out b/tests/specs/fmt/astro_file_with_css_comment/fmt.out new file mode 100644 index 000000000..f6d1be92d --- /dev/null +++ b/tests/specs/fmt/astro_file_with_css_comment/fmt.out @@ -0,0 +1,2 @@ +[WILDCARD]main.astro +Checked 1 file diff --git a/tests/specs/fmt/astro_file_with_css_comment/main.astro b/tests/specs/fmt/astro_file_with_css_comment/main.astro new file mode 100644 index 000000000..1fa1a5c09 --- /dev/null +++ b/tests/specs/fmt/astro_file_with_css_comment/main.astro @@ -0,0 +1,8 @@ +<style> + /* + CSS + */ + body { + font-family: 'Arial', sans-serif; + } +</style>
\ No newline at end of file |