mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-12 13:23:53 -05:00
Add basic tests.
This commit is contained in:
13
test/test.sh
Executable file
13
test/test.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
rm -f *.out
|
||||
|
||||
# Run the tests.
|
||||
vim -N -u NONE -S test.vim
|
||||
|
||||
# Verify the outputs.
|
||||
for expected in *.ok; do
|
||||
name=${expected%.*}
|
||||
actual=$name.out
|
||||
diff $expected $actual && echo "$name ok" || echo "$name failed"
|
||||
done
|
||||
Reference in New Issue
Block a user