From b1d833417bcb57e265e0d01df07b28f463529d4b Mon Sep 17 00:00:00 2001 From: w0rp Date: Sat, 20 Mar 2021 22:11:22 +0000 Subject: #3633 - Put all dummy test files in test/test-files --- .../test_textlint_command_callbacks.vader | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'test/command_callback/test_textlint_command_callbacks.vader') diff --git a/test/command_callback/test_textlint_command_callbacks.vader b/test/command_callback/test_textlint_command_callbacks.vader index 794c7fde..6ec42b2d 100644 --- a/test/command_callback/test_textlint_command_callbacks.vader +++ b/test/command_callback/test_textlint_command_callbacks.vader @@ -42,24 +42,24 @@ Execute(The options should be configurable): \ ale#Escape('textlint') . ' --something -f json --stdin --stdin-filename %s' Execute(The local executable from .bin should be used if available): - call ale#test#SetFilename('textlint_paths/with_bin_path/foo.txt') + call ale#test#SetFilename('../test-files/textlint/with_bin_path/foo.txt') AssertLinter - \ ale#path#Simplify(g:dir . '/textlint_paths/with_bin_path/node_modules/.bin/textlint'), - \ ale#Escape(ale#path#Simplify(g:dir . '/textlint_paths/with_bin_path/node_modules/.bin/textlint')) + \ ale#path#Simplify(g:dir . '/../test-files/textlint/with_bin_path/node_modules/.bin/textlint'), + \ ale#Escape(ale#path#Simplify(g:dir . '/../test-files/textlint/with_bin_path/node_modules/.bin/textlint')) \ . ' -f json --stdin --stdin-filename %s' Execute(The local executable from textlint/bin should be used if available): - call ale#test#SetFilename('textlint_paths/with_textlint_bin_path/foo.txt') + call ale#test#SetFilename('../test-files/textlint/with_textlint_bin_path/foo.txt') if has('win32') AssertLinter - \ ale#path#Simplify(g:dir . '/textlint_paths/with_textlint_bin_path/node_modules/textlint/bin/textlint.js'), - \ ale#Escape('node.exe') . ' ' . ale#Escape(ale#path#Simplify(g:dir . '/textlint_paths/with_textlint_bin_path/node_modules/textlint/bin/textlint.js')) + \ ale#path#Simplify(g:dir . '/../test-files/textlint/with_textlint_bin_path/node_modules/textlint/bin/textlint.js'), + \ ale#Escape('node.exe') . ' ' . ale#Escape(ale#path#Simplify(g:dir . '/../test-files/textlint/with_textlint_bin_path/node_modules/textlint/bin/textlint.js')) \ . ' -f json --stdin --stdin-filename %s' else AssertLinter - \ ale#path#Simplify(g:dir . '/textlint_paths/with_textlint_bin_path/node_modules/textlint/bin/textlint.js'), - \ ale#Escape(ale#path#Simplify(g:dir . '/textlint_paths/with_textlint_bin_path/node_modules/textlint/bin/textlint.js')) + \ ale#path#Simplify(g:dir . '/../test-files/textlint/with_textlint_bin_path/node_modules/textlint/bin/textlint.js'), + \ ale#Escape(ale#path#Simplify(g:dir . '/../test-files/textlint/with_textlint_bin_path/node_modules/textlint/bin/textlint.js')) \ . ' -f json --stdin --stdin-filename %s' endif -- cgit v1.2.3