diff options
author | w0rp <devw0rp@gmail.com> | 2017-10-26 23:31:07 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-10-26 23:31:07 +0100 |
commit | d4d939bea9a51f13fb78a5ab1d7367866a180768 (patch) | |
tree | 0b9f444245d62e29caecdb0e47cd22a8d6385b48 /test/command_callback/test_dartanalyzer_command_callback.vader | |
parent | 6490d3a5e69c188cbd2b2206916f98409cfb230c (diff) | |
download | ale-d4d939bea9a51f13fb78a5ab1d7367866a180768.zip |
Fix #1039 - Only check the file on disk for dartanalyzer
Diffstat (limited to 'test/command_callback/test_dartanalyzer_command_callback.vader')
-rw-r--r-- | test/command_callback/test_dartanalyzer_command_callback.vader | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/command_callback/test_dartanalyzer_command_callback.vader b/test/command_callback/test_dartanalyzer_command_callback.vader index dbd8290c..6685ab4a 100644 --- a/test/command_callback/test_dartanalyzer_command_callback.vader +++ b/test/command_callback/test_dartanalyzer_command_callback.vader @@ -17,7 +17,7 @@ Execute(The default command and executable should be correct): \ 'dartanalyzer', \ ale_linters#dart#dartanalyzer#GetExecutable(bufnr('')) AssertEqual - \ ale#Escape('dartanalyzer') . ' %t', + \ ale#Escape('dartanalyzer') . ' %s', \ ale_linters#dart#dartanalyzer#GetCommand(bufnr('')) Execute(The executable should be configurable): @@ -27,7 +27,7 @@ Execute(The executable should be configurable): \ '/usr/lib/dart/bin/dartanalyzer', \ ale_linters#dart#dartanalyzer#GetExecutable(bufnr('')) AssertEqual - \ ale#Escape('/usr/lib/dart/bin/dartanalyzer') . ' %t', + \ ale#Escape('/usr/lib/dart/bin/dartanalyzer') . ' %s', \ ale_linters#dart#dartanalyzer#GetCommand(bufnr('')) Execute(The .packages file should be set if detected): @@ -36,5 +36,5 @@ Execute(The .packages file should be set if detected): AssertEqual \ ale#Escape('dartanalyzer') \ . ' --packages ' . ale#Escape(ale#path#Winify(g:dir . '/dart_paths/.packages')) - \ . ' %t', + \ . ' %s', \ ale_linters#dart#dartanalyzer#GetCommand(bufnr('')) |