From: Ilmari Karonen Date: Fri, 1 Dec 2006 03:09:39 +0000 (+0000) Subject: fix broken ISBN test, add two to test space-delimited ISBNs X-Git-Tag: 1.31.0-rc.0~55023 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=86dbb023ccfffb228f5aa54b803f1ca5be16e55b;p=lhc%2Fweb%2Fwiklou.git fix broken ISBN test, add two to test space-delimited ISBNs --- diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index 26a12e15fa..d6c5b4dcf4 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -6074,7 +6074,27 @@ ISBN with a dummy number !! input ISBN --- !! result -

ISBN --- +

ISBN --- +

+!! end + + +!! test +ISBN with space-delimited number +!! input +ISBN 92 9017 032 8 +!! result +

ISBN 92 9017 032 8 +

+!! end + + +!! test +ISBN with multiple spaces, no number +!! input +ISBN foo +!! result +

ISBN foo

!! end