diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/specs/fmt/njk/__test__.jsonc | 5 | ||||
-rw-r--r-- | tests/specs/fmt/njk/badly_formatted.njk | 3 | ||||
-rw-r--r-- | tests/specs/fmt/vento/__test__.jsonc | 5 | ||||
-rw-r--r-- | tests/specs/fmt/vento/badly_formatted.vto | 3 |
4 files changed, 16 insertions, 0 deletions
diff --git a/tests/specs/fmt/njk/__test__.jsonc b/tests/specs/fmt/njk/__test__.jsonc new file mode 100644 index 000000000..8b6bc87d4 --- /dev/null +++ b/tests/specs/fmt/njk/__test__.jsonc @@ -0,0 +1,5 @@ +{ + "tempDir": true, + "args": "fmt --unstable-component", + "output": "[WILDLINE]badly_formatted.njk\nChecked 1 file\n" +}
\ No newline at end of file diff --git a/tests/specs/fmt/njk/badly_formatted.njk b/tests/specs/fmt/njk/badly_formatted.njk new file mode 100644 index 000000000..71b0578d1 --- /dev/null +++ b/tests/specs/fmt/njk/badly_formatted.njk @@ -0,0 +1,3 @@ +<h1> {{ "Hello, world!" | upper }} + </h1> + diff --git a/tests/specs/fmt/vento/__test__.jsonc b/tests/specs/fmt/vento/__test__.jsonc new file mode 100644 index 000000000..c3e3bbf7d --- /dev/null +++ b/tests/specs/fmt/vento/__test__.jsonc @@ -0,0 +1,5 @@ +{ + "tempDir": true, + "args": "fmt --unstable-component", + "output": "[WILDLINE]badly_formatted.vto\nChecked 1 file\n" +}
\ No newline at end of file diff --git a/tests/specs/fmt/vento/badly_formatted.vto b/tests/specs/fmt/vento/badly_formatted.vto new file mode 100644 index 000000000..ad4644390 --- /dev/null +++ b/tests/specs/fmt/vento/badly_formatted.vto @@ -0,0 +1,3 @@ +<h1> {{ "Hello, world!" |> toUpperCase }} + </h1> + |