From f4d252ceb68835626c16ff17e6d96ac811ff97df Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Fri, 4 Nov 2011 07:19:31 -0400 Subject: [PATCH] csv tests for tailing newlines --- tests/data/csv/trailing_newline_mac.csv | 1 + tests/data/csv/trailing_newline_win.csv | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 tests/data/csv/trailing_newline_mac.csv create mode 100644 tests/data/csv/trailing_newline_win.csv diff --git a/tests/data/csv/trailing_newline_mac.csv b/tests/data/csv/trailing_newline_mac.csv new file mode 100644 index 000000000..5a7051dd9 --- /dev/null +++ b/tests/data/csv/trailing_newline_mac.csv @@ -0,0 +1 @@ +x,y,z 0,0,0 1,2,3 diff --git a/tests/data/csv/trailing_newline_win.csv b/tests/data/csv/trailing_newline_win.csv new file mode 100644 index 000000000..289bb9514 --- /dev/null +++ b/tests/data/csv/trailing_newline_win.csv @@ -0,0 +1,12 @@ +FID,wkt,REGIONNAME,RID +Eth_Region_Boundary.1,"POINT (0 0)",Addis Ababa,14 +Eth_Region_Boundary.2,"POINT (0 0)",Tigray,01 +Eth_Region_Boundary.3,"POINT (0 0)",Somali,05 +Eth_Region_Boundary.4,"POINT (0 0)",Dire Dawa,15 +Eth_Region_Boundary.5,"POINT (0 0)",Hareri,13 +Eth_Region_Boundary.6,"POINT (0 0)",SNNPR,07 +Eth_Region_Boundary.7,"POINT (0 0)",Gambela,12 +Eth_Region_Boundary.8,"POINT (0 0)",Beneshangul Gumu,06 +Eth_Region_Boundary.9,"POINT (0 0)",Amhara,03 +Eth_Region_Boundary.10,"POINT (0 0)",Afar,02 +Eth_Region_Boundary.11,"POINT (0 0)",Oromia,04