Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adjusted eval/printf calls in .value()
- Loading branch information
Showing
3 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
call vimtest#StartTap() | ||
call vimtap#Plan(20) " <== XXX Keep plan number updated. XXX | ||
|
||
let s1_1 = Series('%d,') | ||
let s1_2 = Series('"%d,"') | ||
let s2_1 = Series('x:nexus,') | ||
let s2_2 = Series('"x:nexus,"') | ||
|
||
call vimtap#Is(s1_1.value(), '0,', '.value() == initial_value') | ||
call vimtap#Is(s1_1.next(), '0,', '.next() steps correctly') | ||
call vimtap#Is(s1_1.next(), '1,', '.next() steps correctly') | ||
call vimtap#Is(s1_1.next(), '2,', '.next() steps correctly') | ||
call vimtap#Is(s1_1.next(), '3,', '.next() steps correctly') | ||
|
||
call vimtap#Is(s1_2.value(), '"0,"', '.value() == initial_value') | ||
call vimtap#Is(s1_2.next(), '"0,"', '.next() steps correctly') | ||
call vimtap#Is(s1_2.next(), '"1,"', '.next() steps correctly') | ||
call vimtap#Is(s1_2.next(), '"2,"', '.next() steps correctly') | ||
call vimtap#Is(s1_2.next(), '"3,"', '.next() steps correctly') | ||
|
||
call vimtap#Is(s2_1.value(), '0,', '.value() == initial_value') | ||
call vimtap#Is(s2_1.next(), '0,', '.next() steps correctly') | ||
call vimtap#Is(s2_1.next(), '1,', '.next() steps correctly') | ||
call vimtap#Is(s2_1.next(), '2,', '.next() steps correctly') | ||
call vimtap#Is(s2_1.next(), '3,', '.next() steps correctly') | ||
|
||
call vimtap#Is(s2_2.value(), '"0,"', '.value() == initial_value') | ||
call vimtap#Is(s2_2.next(), '"0,"', '.next() steps correctly') | ||
call vimtap#Is(s2_2.next(), '"1,"', '.next() steps correctly') | ||
call vimtap#Is(s2_2.next(), '"2,"', '.next() steps correctly') | ||
call vimtap#Is(s2_2.next(), '"3,"', '.next() steps correctly') | ||
|
||
call vimtest#Quit() |