<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/main/main_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'main/main_test.go')
-rw-r--r--main/main_test.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/main_test.go b/main/main_test.go
index 1510497..1ac89f6 100644
--- a/main/main_test.go
+++ b/main/main_test.go
@@ -86,6 +86,13 @@ func TestMain(t *testing.T) {
input: miscInput,
expected: `["Charlie Johnson","Tom Johnson","Charlie Chaplin","John Johnson"]`,
},
+ {
+ name: "Verbose concat array values",
+ program: "as/#( \"array\"$_ :(): )-/{ :s N/#( .$_ . )-/{ es/.{-0}:():/be mbs } :em s/:( -( ~(.{-0}` `)-{-0} ~(.{-0})- )~ )-/p }",
+ quiet: true,
+ input: miscInput,
+ expected: `"Hello world these are values"`,
+ },
}
for _, test := range tests {