enhance test
This commit is contained in:
parent
7596036ffc
commit
895759e1fb
1 changed files with 7 additions and 1 deletions
8
test.sh
8
test.sh
|
@ -26,9 +26,15 @@ cat<<EOF > test.in
|
|||
alpha
|
||||
beta
|
||||
alpha
|
||||
alpha
|
||||
gamma
|
||||
alpha
|
||||
EOF
|
||||
cat<<EOF > test.expect
|
||||
alpha
|
||||
gamma
|
||||
alpha
|
||||
EOF
|
||||
echo "gamma" > test.expect
|
||||
./skip 2 test.in --line alpha > test.out
|
||||
diff --brief test.expect test.out
|
||||
|
||||
|
|
Loading…
Reference in a new issue