diff options
author | w0rp <devw0rp@gmail.com> | 2021-03-20 22:11:22 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2021-03-20 22:11:42 +0000 |
commit | b1d833417bcb57e265e0d01df07b28f463529d4b (patch) | |
tree | 11421aeca89127b0cc9417f8ff4cb0d725199f49 /test/command_callback/test_cargo_command_callbacks.vader | |
parent | 3838ae118d8f05fa1b1be7952a1c8aa3055d6728 (diff) | |
download | ale-b1d833417bcb57e265e0d01df07b28f463529d4b.zip |
#3633 - Put all dummy test files in test/test-files
Diffstat (limited to 'test/command_callback/test_cargo_command_callbacks.vader')
-rw-r--r-- | test/command_callback/test_cargo_command_callbacks.vader | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/command_callback/test_cargo_command_callbacks.vader b/test/command_callback/test_cargo_command_callbacks.vader index ee942c28..25dd0253 100644 --- a/test/command_callback/test_cargo_command_callbacks.vader +++ b/test/command_callback/test_cargo_command_callbacks.vader @@ -1,8 +1,8 @@ Before: call ale#assert#SetUpLinterTest('rust', 'cargo') - call ale#test#SetFilename('cargo_paths/test.rs') + call ale#test#SetFilename('../test-files/cargo/test.rs') - let g:cd = 'cd ' . ale#Escape(ale#path#Simplify(g:dir . '/cargo_paths')) . ' && ' + let g:cd = 'cd ' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/cargo')) . ' && ' let g:suffix = ' --frozen --message-format=json -q' let g:ale_rust_cargo_avoid_whole_workspace = 0 @@ -120,9 +120,9 @@ Execute(--all-features should be used when g:ale_rust_cargo_default_feature_beha Execute(Cargo should run from the crate directory when set to avoid the workspace): let g:ale_rust_cargo_avoid_whole_workspace = 1 - call ale#test#SetFilename('cargo_workspace_paths/subpath/test.rs') + call ale#test#SetFilename('../test-files/cargo/workspace_paths/subpath/test.rs') - AssertLinterCwd ale#path#Simplify(g:dir . '/cargo_workspace_paths/subpath') + AssertLinterCwd ale#path#Simplify(g:dir . '/../test-files/cargo/workspace_paths/subpath') call ale#semver#ResetVersionCache() AssertLinter 'cargo', [ \ ale#Escape('cargo') . ' --version', @@ -131,7 +131,7 @@ Execute(Cargo should run from the crate directory when set to avoid the workspac Execute(Cargo should not run from the crate directory when not set to avoid the workspace): let g:ale_rust_cargo_avoid_whole_workspace = 0 - call ale#test#SetFilename('cargo_workspace_paths/subpath/test.rs') + call ale#test#SetFilename('../test-files/cargo/workspace_paths/subpath/test.rs') AssertLinterCwd '' call ale#semver#ResetVersionCache() |