Fix tests for #432

This commit is contained in:
Nicolas Williams committed 2014-08-08 18:17:58 -05:00
1 parent eb12f0358e
commit fc52e78ed4
1 file changed
+2 -1
+2 -1
View File
@@ -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(", *")]]