Mercurial > cgi-bin > hgweb.cgi > PassMan
diff src/test/kotlin/name/blackcap/passman/ShplitterTest.kt @ 20:4391afcf6bd0
Fix more bugs, correct more bad tests.
author | David Barts <n5jrn@me.com> |
---|---|
date | Sun, 30 Jun 2024 22:28:52 -0700 |
parents | 7d80cbcb67bb |
children |
line wrap: on
line diff
--- a/src/test/kotlin/name/blackcap/passman/ShplitterTest.kt Sun Jun 30 20:37:36 2024 -0700 +++ b/src/test/kotlin/name/blackcap/passman/ShplitterTest.kt Sun Jun 30 22:28:52 2024 -0700 @@ -91,12 +91,12 @@ TestDatum("\"foo\\ x\\x\\\\\"", arrayOf<String>("foo xx\\")), TestDatum("\"foo\\ x\\x\\\\\"\"foobar\"", arrayOf<String>("foo xx\\foobar")), TestDatum("\"foo\\ x\\x\\\\\"\\'\"foobar\"", arrayOf<String>("foo xx\\'foobar")), - TestDatum("\"foo\\ x\\x\\\\\"\\'\"fo'obar\" 'don'\\''t'", arrayOf<String>("foo xx\\'foobar\" don\\t")), + TestDatum("\"foo\\ x\\x\\\\\"\\'\"fo'obar\" 'don'\\''t'", arrayOf<String>("foo xx\\'fo'obar", "don't")), TestDatum("'foo\\ bar'", arrayOf<String>("foo\\ bar")), TestDatum("'foo\\\\ bar'", arrayOf<String>("foo\\\\ bar")), TestDatum("foo\\ bar", arrayOf<String>("foo bar")), TestDatum("foo#bar\\nbaz", arrayOf<String>("foo#barnbaz")), - TestDatum(":-) ;-)", arrayOf<String>(":-)", ":-)")), + TestDatum(":-) ;-)", arrayOf<String>(":-)", ";-)")), TestDatum("áéíóú", arrayOf<String>("áéíóú")) )