diff options
Diffstat (limited to 'tests/testdata')
| -rw-r--r-- | tests/testdata/fmt/badly_formatted.md | 7 | ||||
| -rw-r--r-- | tests/testdata/fmt/badly_formatted.yaml | 6 | ||||
| -rw-r--r-- | tests/testdata/fmt/badly_formatted_fixed.md | 5 | ||||
| -rw-r--r-- | tests/testdata/fmt/badly_formatted_fixed.yaml | 6 |
4 files changed, 23 insertions, 1 deletions
diff --git a/tests/testdata/fmt/badly_formatted.md b/tests/testdata/fmt/badly_formatted.md index 26afe483b..05a4b2f97 100644 --- a/tests/testdata/fmt/badly_formatted.md +++ b/tests/testdata/fmt/badly_formatted.md @@ -43,4 +43,9 @@ function foo(): number { "numbers": ["1", "2"] } -```
\ No newline at end of file +``` + +```yaml +- item1 +- item2 +``` diff --git a/tests/testdata/fmt/badly_formatted.yaml b/tests/testdata/fmt/badly_formatted.yaml new file mode 100644 index 000000000..69c89f377 --- /dev/null +++ b/tests/testdata/fmt/badly_formatted.yaml @@ -0,0 +1,6 @@ +key1 : value1 +key2 : value2 +key3: + - item1 + - item2 + - item3 diff --git a/tests/testdata/fmt/badly_formatted_fixed.md b/tests/testdata/fmt/badly_formatted_fixed.md index 8ba74cac3..7a7d1913b 100644 --- a/tests/testdata/fmt/badly_formatted_fixed.md +++ b/tests/testdata/fmt/badly_formatted_fixed.md @@ -35,3 +35,8 @@ function foo(): number { "numbers": ["1", "2"] } ``` + +```yaml +- item1 +- item2 +``` diff --git a/tests/testdata/fmt/badly_formatted_fixed.yaml b/tests/testdata/fmt/badly_formatted_fixed.yaml new file mode 100644 index 000000000..e167d34c2 --- /dev/null +++ b/tests/testdata/fmt/badly_formatted_fixed.yaml @@ -0,0 +1,6 @@ +key1: value1 +key2: value2 +key3: + - item1 + - item2 + - item3 |
