summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2014-08-08 18:00:01 -0500
committerNicolas Williams <nico@cryptonector.com>2014-08-08 18:17:58 -0500
commitfc52e78ed407247c0ce22a233647e52d2aa2c4e8 (patch)
tree3bc5b6fa05a81e1936b69364908c7b2a026dae55
parenteb12f0358ed64657d3feb8b78b29014fe24a59d0 (diff)
Fix tests for #432
-rw-r--r--tests/all.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/all.test b/tests/all.test
index c57c6d07..c73e27a3 100644
--- a/tests/all.test
+++ b/tests/all.test
@@ -828,7 +828,6 @@ capture("(?<a>[a-z]+)-(?<n>[0-9]+)")
[.[] | sub(", "; ":")]
["a,b, c, d, e,f", ", a,b, c, d, e,f, "]
["a,b:c, d, e,f",":a,b, c, d, e,f, "]
-, #2 [", ",", ",", "],["a,b","c","d","e,f"]], #3 [[":a,b, c, d, e,f,"],[":a,b:c:d:e,f:"],[", ",", ",", ",", ",", "],["","a,b","c","d","e,f",""]]]
[.[] | gsub(", "; ":")]
["a,b, c, d, e,f",", a,b, c, d, e,f, "]
@@ -836,9 +835,11 @@ capture("(?<a>[a-z]+)-(?<n>[0-9]+)")
[.[] | scan(", ")]
["a,b, c, d, e,f",", a,b, c, d, e,f, "]
+[", ",", ",", ",", ",", ",", ",", ",", "]
[.[] | split(", ")]
["a,b, c, d, e,f",", a,b, c, d, e,f, "]
+[["a,b","c","d","e,f"],["","a,b","c","d","e,f",""]]
########################
[.[]|[[sub(", *";":")], [gsub(", *";":")], [scan(", *")], split(", *")]]