1
0
mirror of https://github.com/amix/vimrc synced 2025-07-09 02:25:00 +08:00

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

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!'