From 8509006165dd23cb4ada97cbb68145d14d4627ae Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 29 Jul 2019 17:38:46 +0300 Subject: [PATCH] data/test.csv: Use more descriptive tests To make it obvious what each item is testing. --- data/test.csv | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/data/test.csv b/data/test.csv index 5a1192a..d0d2485 100644 --- a/data/test.csv +++ b/data/test.csv @@ -1,9 +1,15 @@ dc.contributor.author,birthdate,dc.identifier.issn,dc.identifier.isbn - Alan|| Alan||Alan Orth||Alan ||Alan Orth |Alan,1984,0378-5955,978-0-306-40615-6||99921-58-10-7 -Stella|| Stella ||Stella Orth||Stella ,1984-11-27,2321-2302,99921-58-10-7 -Sophia,2019-06-15,, -Test,2019-06-150,, -"Doe, J.",2019-06-15||2019-01-10,, -Someone,,0378-5955|0378-5955, + Leading space,2019-07-29,, +Trailing space ,2019-07-29,, +Excessive space,2019-07-29,, +Miscellaenous ||whitespace | issues ,2019-07-29,, +Duplicate||Duplicate,2019-07-29,, +Invalid ISSN,2019-07-29,2321-2302, +Invalid ISBN,2019-07-29,,978-0-306-40615-6 +Multiple valid ISSNs,2019-07-29,0378-5955||0024-9319, +Multiple valid ISBNs,2019-07-29,,99921-58-10-7||978-0-306-40615-7 +Invalid date,2019-07-260,, +Multiple dates,2019-07-26||2019-01-10,, +Invalid multi-value separator,,0378-5955|0024-9319, Unnecessary Unicode​,2019-07-29,, -Suspicious Character||foreˆt,2019-07-29,, +Suspicious character||foreˆt,2019-07-29,,