features/basic.feature in cvg-0.2.1 vs features/basic.feature in cvg-0.2.2
- old
+ new
@@ -202,10 +202,11 @@
"""
a,b
yes,x
yes,
yes," "
+ yes," "
yes,N/A
yes,n/a
yes,NULL
yes,null
yes,-
@@ -228,11 +229,10 @@
Then you get output
"""
a,b
yes,x
yes,
- yes,
yes,
yes,
yes,
yes,
yes,
@@ -247,10 +247,12 @@
yes,
yes,
yes,
yes,
yes,
+ yes,
+ yes,
yes,z
"""
Scenario: Dup check one field
Given an input csv
@@ -297,9 +299,23 @@
Then you get output
"""
b,a
bb,aa
bbb,aaa
+ """
+
+ Scenario: Output a limited number of rows
+ Given an input csv
+ """
+ a,b,c
+ aa,bb,cc
+ aaa,bbb,ccc
+ """
+ When you pass arguments --limit 1
+ Then you get output
+ """
+ a,b,c
+ aa,bb,cc
"""
Scenario: Any of fields is present
Given an input csv
"""