<- 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 1ac89f6..b745202 100644
--- a/main/main_test.go
+++ b/main/main_test.go
@@ -93,6 +93,13 @@ func TestMain(t *testing.T) {
input: miscInput,
expected: `"Hello world these are values"`,
},
+ {
+ name: "Short concat array values",
+ program: "M/#( \"array\" :(): )#/{ s/#( \"array\"$_ :( .{-0} )- )-/ s/-( ~(.{-0}` `)-{-0} ~(.{-0})- )~/p }",
+ quiet: true,
+ input: miscInput,
+ expected: `"Hello world these are values"`,
+ },
}
for _, test := range tests {