Skip to content

Commit

Permalink
[t/03-quotes.t] one more test; already passes
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Masak committed Aug 15, 2009
1 parent a517460 commit 943d258
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions t/03-quotes.t
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ ok_becomes q[[[foo,bar,baz
dies_ok { CSV.read(q[[[foo,ba'r,ba'z]]]) }, 'mid-string single quotes illegal';
dies_ok { CSV.read(q[[[foo,ba"r,ba"z]]]) }, 'mid-string double quotes illegal';

is +CSV.read(q[[[foo,'bar,baz']]])[0], 2, 'can single-quote commas';
is +CSV.read(q[[[foo,"bar,baz"]]])[0], 2, 'can double-quote commas';

done_testing;

# vim:ft=perl6

0 comments on commit 943d258

Please sign in to comment.