diff options
author | Charlie Stanton <charlie@shtanton.xyz> | 2024-04-23 20:25:49 +0100 |
---|---|---|
committer | Charlie Stanton <charlie@shtanton.xyz> | 2024-04-23 20:25:49 +0100 |
commit | 7084f5e1ceb61eab199512410048ad53e3ea08d7 (patch) | |
tree | 54db2851f4eb4b06998e00173d0bf30b9991d43f /main/main_test.go | |
parent | 663dd2ede81e6415a3c16a46d8e9cfa2e209238f (diff) | |
download | stred-go-7084f5e1ceb61eab199512410048ad53e3ea08d7.tar |
Add full merge command
Diffstat (limited to 'main/main_test.go')
-rw-r--r-- | main/main_test.go | 7 |
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 { |