summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatheus Gabriel Werny de Lima <46067952+Spixmaster@users.noreply.github.com>2022-09-30 12:24:32 +0200
committerGitHub <noreply@github.com>2022-09-30 19:24:32 +0900
commita33960eb51b638f232dff71cfeac5ede87b38312 (patch)
tree96d408dfd78b66cd5c5223969445b557fc0276cf /test
parent7dd13afc6c88965d55c0ec3504c5af6c11532d1e (diff)
downloadale-a33960eb51b638f232dff71cfeac5ede87b38312.zip
Add fixer "css-beautify". Adjust "html-beautify." (#4319)
* Add fixer "css-beautify". Adjust "html-beautify." * Error fixes. * Added chars.
Diffstat (limited to 'test')
-rw-r--r--test/fixers/test_css_beautify_fixer_callback.vader12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/fixers/test_css_beautify_fixer_callback.vader b/test/fixers/test_css_beautify_fixer_callback.vader
new file mode 100644
index 00000000..a6b61713
--- /dev/null
+++ b/test/fixers/test_css_beautify_fixer_callback.vader
@@ -0,0 +1,12 @@
+Before:
+ call ale#assert#SetUpFixerTest('css', 'css-beautify', 'beautify')
+
+After:
+ Restore
+
+ call ale#assert#TearDownFixerTest()
+
+Execute(The css-beautify callback should return the correct default command):
+ AssertEqual
+ \ {'command': ale#Escape('css-beautify') . ' -'},
+ \ ale#fixers#css_beautify#Fix(bufnr(''))