diff options
author | Steven Harman <steven@harmanly.com> | 2018-10-16 13:37:39 -0400 |
---|---|---|
committer | Steven Harman <steven@harmanly.com> | 2018-10-25 16:29:29 -0400 |
commit | 9c3daf3a66b00ce553191cb976ff5bb313048553 (patch) | |
tree | 8bda676811bb236451ad50b00f5e218939831517 /test/command_callback/test_reek_command_callback.vader | |
parent | 320c74ce1a28bfb4f2e10e1efcd2ca93701fc00e (diff) | |
download | ale-9c3daf3a66b00ce553191cb976ff5bb313048553.zip |
Respect configured excluded_paths
Diffstat (limited to 'test/command_callback/test_reek_command_callback.vader')
-rw-r--r-- | test/command_callback/test_reek_command_callback.vader | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/command_callback/test_reek_command_callback.vader b/test/command_callback/test_reek_command_callback.vader index 963247aa..a7cb7fb9 100644 --- a/test/command_callback/test_reek_command_callback.vader +++ b/test/command_callback/test_reek_command_callback.vader @@ -8,7 +8,7 @@ Execute(The reek callbacks should return the correct default values): WithChainResults ['reek 5.0.0'] AssertLinter 'reek', [ \ ale#Escape('reek') . ' --version', - \ ale#Escape('reek') . ' -f json --no-progress --no-color --stdin-filename %s', + \ ale#Escape('reek') . ' -f json --no-progress --no-color --force-exclusion --stdin-filename %s', \] " Try with older versions. @@ -17,7 +17,7 @@ Execute(The reek callbacks should return the correct default values): WithChainResults ['reek 4.8.2'] AssertLinter 'reek', [ \ ale#Escape('reek') . ' --version', - \ ale#Escape('reek') . ' -f json --no-progress --no-color', + \ ale#Escape('reek') . ' -f json --no-progress --no-color --force-exclusion', \] Execute(Setting bundle appends 'exec reek'): @@ -26,7 +26,7 @@ Execute(Setting bundle appends 'exec reek'): WithChainResults ['reek 5.0.0'] AssertLinter 'bundle', ale#Escape('bundle') \ . ' exec reek' - \ . ' -f json --no-progress --no-color --stdin-filename %s', + \ . ' -f json --no-progress --no-color --force-exclusion --stdin-filename %s', " Try with older versions. call ale#semver#ResetVersionCache() @@ -34,17 +34,17 @@ Execute(Setting bundle appends 'exec reek'): WithChainResults ['reek 4.8.2'] AssertLinter 'bundle', ale#Escape('bundle') \ . ' exec reek' - \ . ' -f json --no-progress --no-color' + \ . ' -f json --no-progress --no-color --force-exclusion' Execute(The reek version check should be cached): WithChainResults ['reek 5.0.0'] AssertLinter 'reek', [ \ ale#Escape('reek') . ' --version', - \ ale#Escape('reek') . ' -f json --no-progress --no-color --stdin-filename %s', + \ ale#Escape('reek') . ' -f json --no-progress --no-color --force-exclusion --stdin-filename %s', \] WithChainResults [] AssertLinter 'reek', [ \ '', - \ ale#Escape('reek') . ' -f json --no-progress --no-color --stdin-filename %s', + \ ale#Escape('reek') . ' -f json --no-progress --no-color --force-exclusion --stdin-filename %s', \] |