summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2020-08-27 13:39:30 +0100
committerGitHub <noreply@github.com>2020-08-27 13:39:30 +0100
commit5d3d33626cfec083b7e5340df2186b6ed9610916 (patch)
tree8609d1700c445348ee9defdf0684da18ec5c31f1 /test
parent571cff932d7cbfc967559925366100a8f36fb33a (diff)
parent447aea4af045b80d63fafe4e65791aa6b7d5b21b (diff)
downloadale-5d3d33626cfec083b7e5340df2186b6ed9610916.zip
Merge pull request #3310 from pbrisbin/master
Add dhall-format as a Fixer
Diffstat (limited to 'test')
-rw-r--r--test/fixers/test_dhall_fixer_callback.vader11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/fixers/test_dhall_fixer_callback.vader b/test/fixers/test_dhall_fixer_callback.vader
new file mode 100644
index 00000000..f27880b7
--- /dev/null
+++ b/test/fixers/test_dhall_fixer_callback.vader
@@ -0,0 +1,11 @@
+Before:
+ call ale#assert#SetUpFixerTest('dhall', 'dhall')
+
+After:
+ call ale#assert#TearDownFixerTest()
+
+Execute(The default command should be correct):
+ AssertFixer
+ \ { 'read_temporary_file': 1,
+ \ 'command': ale#Escape('dhall') . ' format --inplace %t'
+ \ }