From 9dd5ace960a65bfa6864db266a8400c90b57288e Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Thu, 29 Mar 2012 00:45:39 +0000 Subject: [PATCH] More blank line tests git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1306661 13f79535-47bb-0310-9956-ffa450edef68 --- src/test/resources/CSVFileParser/test.csv | 4 +++- src/test/resources/CSVFileParser/test_default.txt | 2 +- src/test/resources/CSVFileParser/test_rfc4180.txt | 4 +++- src/test/resources/CSVFileParser/test_rfc4180_trim.txt | 4 +++- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/test/resources/CSVFileParser/test.csv b/src/test/resources/CSVFileParser/test.csv index d394ba57..ebdb9525 100644 --- a/src/test/resources/CSVFileParser/test.csv +++ b/src/test/resources/CSVFileParser/test.csv @@ -9,6 +9,8 @@ a,b,c,d ,,, # empty quoted values "","","","" -# empty line +# 3 empty lines + + # EOF on next line diff --git a/src/test/resources/CSVFileParser/test_default.txt b/src/test/resources/CSVFileParser/test_default.txt index cca4de26..e612fb81 100644 --- a/src/test/resources/CSVFileParser/test_default.txt +++ b/src/test/resources/CSVFileParser/test_default.txt @@ -11,5 +11,5 @@ Delimiter=<,> Encapsulator=<"> EmptyLines:ignored 4:[, , , ] 1:[# empty quoted values] 4:[, , , ] -1:[# empty line] +1:[# 3 empty lines] 1:[# EOF on next line] \ No newline at end of file diff --git a/src/test/resources/CSVFileParser/test_rfc4180.txt b/src/test/resources/CSVFileParser/test_rfc4180.txt index 28028545..9fcbf304 100644 --- a/src/test/resources/CSVFileParser/test_rfc4180.txt +++ b/src/test/resources/CSVFileParser/test_rfc4180.txt @@ -11,6 +11,8 @@ Delimiter=<,> Encapsulator=<"> 4:[, , , ] 1:[# empty quoted values] 4:[, , , ] -1:[# empty line] +1:[# 3 empty lines] +1:[] +1:[] 1:[] 1:[# EOF on next line] \ No newline at end of file diff --git a/src/test/resources/CSVFileParser/test_rfc4180_trim.txt b/src/test/resources/CSVFileParser/test_rfc4180_trim.txt index 6ed401e4..b1e38b85 100644 --- a/src/test/resources/CSVFileParser/test_rfc4180_trim.txt +++ b/src/test/resources/CSVFileParser/test_rfc4180_trim.txt @@ -11,6 +11,8 @@ Delimiter=<,> Encapsulator=<"> SurroundingSpaces:ignored 4:[, , , ] 1:[# empty quoted values] 4:[, , , ] -1:[# empty line] +1:[# 3 empty lines] +1:[] +1:[] 1:[] 1:[# EOF on next line] \ No newline at end of file