diff options
author | Charlie Stanton <charlie@shtanton.xyz> | 2024-04-21 17:52:41 +0100 |
---|---|---|
committer | Charlie Stanton <charlie@shtanton.xyz> | 2024-04-21 17:52:41 +0100 |
commit | 663dd2ede81e6415a3c16a46d8e9cfa2e209238f (patch) | |
tree | 8be3524a57a3a7f565539d839400b7bebe135040 /main | |
parent | 126fcb57b29dd0157cf2dd42da24dc0a047ec88c (diff) | |
download | stred-go-663dd2ede81e6415a3c16a46d8e9cfa2e209238f.tar |
Add test showcasing loading a whole value into memory
Diffstat (limited to 'main')
-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 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 { |