Skip to content

Commit bb7ddcd

Browse files
committed
Merge pull request #7 from tyru/fix-system-retval
test/run.vim wrongly passes all tests
2 parents bcc5ce9 + 57256fd commit bb7ddcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/run.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function! s:run()
1818
catch
1919
call writefile([v:exception], outfile)
2020
endtry
21-
if system(printf('diff %s %s', shellescape(okfile), shellescape(outfile))) == 0
21+
if system(printf('diff %s %s', shellescape(okfile), shellescape(outfile))) == ""
2222
echo printf('%s => ok', fnamemodify(vimfile, ':t'))
2323
else
2424
echoerr printf('%s => ng', fnamemodify(vimfile, ':t'))

0 commit comments

Comments
 (0)