summaryrefslogtreecommitdiff
path: root/test/stdout
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2023-07-08 17:59:20 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2023-07-08 17:59:20 +0100
commitaae2bf28db36ab9133829dc33ea6ef886e8373c2 (patch)
tree1e1b669d5d6381ddd9b5e21e7142847f66fffcc8 /test/stdout
parent00392be0e7cfb5c6c6ce173ff31d81ab2a2e8779 (diff)
Fix json extract for strings carrying commas. Bug 3006
Diffstat (limited to 'test/stdout')
-rw-r--r--test/stdout/00027
-rw-r--r--test/stdout/27503
2 files changed, 10 insertions, 0 deletions
diff --git a/test/stdout/0002 b/test/stdout/0002
index 1da46e7a0..5b9de8e5e 100644
--- a/test/stdout/0002
+++ b/test/stdout/0002
@@ -945,6 +945,13 @@ xyz
> <>
> expect: <>
>
+> # string value with embedded comma
+> <Doe, John>
+> expect <Doe, John>
+> # string value with embedded doublequote
+> <word1 \" word2>
+> expect <word1 \" word2>
+>
> yes
> yes
>
diff --git a/test/stdout/2750 b/test/stdout/2750
index d70041a16..11b85cdcf 100644
--- a/test/stdout/2750
+++ b/test/stdout/2750
@@ -16,3 +16,6 @@
> aggregate output vs. json extract
> [".outlook.com", "outlook.com"]
>
+> string with embedded comma
+> Doe, John
+>