Fix tests.

This commit is contained in:
Israel Chauca Fuentes
2013-07-14 01:30:05 -04:00
parent 6b0d448f6a
commit ad11ab2210
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -33,8 +33,9 @@ for item in lines
exec 'normal i'.eval(input2)."\<Esc>"
let line = getline('.')
let passed = line == eval(output2)
call vimtap#Ok(passed, input2 . ' => ' . string(line) .
\ (passed ? ' =' : ' !') . '= ' . string(eval(output2)))
call vimtap#Is(line, eval(output2), input2)
", input2 . ' => ' . string(line) .
" \ (passed ? ' =' : ' !') . '= ' . string(eval(output2)))
let tcount += 1
endfor
endfor