mirror of
1
0
Fork 0

Update editorconfig-vim.

This commit is contained in:
Kurtis Moxley 2022-05-19 22:02:24 +08:00
parent f219991e20
commit 82a7b47473
12 changed files with 13 additions and 1 deletions

0
sources_non_forked/editorconfig-vim/LICENSE.PSF Normal file → Executable file
View File

0
sources_non_forked/editorconfig-vim/mkzip.sh Normal file → Executable file
View File

View File

View File

View File

View File

View File

View File

View File

0
sources_non_forked/editorconfig-vim/tests/fetch-vim.sh Normal file → Executable file
View File

View File

@ -18,7 +18,8 @@ def test_editorconfig(vim, file_name, expected_values)
vim.edit(File.join(BASE_PATH, file_name))
expected_values.each do |key, val|
expect(vim.echo("&l:#{key}")).to eq(val)
vimval = vim.echo("&l:#{key}")
expect(vimval).to eq(val), "key #{key} had value #{vimval}, but I expected #{val}"
end
vim.command 'bd!'

View File

@ -11,6 +11,17 @@ if [[ ( ! "${TEST_WHICH:-}" ) && "${1:-}" ]]; then
export TEST_WHICH="$1"
fi
if [[ ! "${TEST_WHICH:-}" ]]; then
cat <<EOT
Usage: $0 \$WHICH
or: TEST_WHICH=\$WHICH $0
Run automated tests of editorconfig-vim
\$WHICH can be "core" or "plugin".
EOT
exit 2
fi
if [[ "$TEST_WHICH" = 'plugin' ]]; then # test plugin
# If not running from Travis, do what Travis would have