kana / vim-vspec

Vim plugin: Testing framework for Vim script
http://www.vim.org/scripts/script.php?script_id=3012
221 stars 13 forks source link

Fix vspec runtimepath handling (issue #16) #17

Closed glts closed 11 years ago

glts commented 11 years ago
glts commented 11 years ago

Sorry, I didn't mean to open two issues for this. This is the same as #16.

kana commented 11 years ago

Thank you for the patch. I'll merge it later with a few test cases. By the way, I wonder about the use of printf in your patch. printf "'%s'," "$a" is equivalent to echo "'$a'", isn't it?

glts commented 11 years ago

Oh, I think in this case, yes, they are equivalent. But I have made a habit of using printf instead of echo after reading Stéphane Chazelas' very good answer to "Why is printf better than echo?".

Thanks.

kana commented 11 years ago

Thank you. I didn't know that.