From 663dd2ede81e6415a3c16a46d8e9cfa2e209238f Mon Sep 17 00:00:00 2001 From: Charlie Stanton Date: Sun, 21 Apr 2024 17:52:41 +0100 Subject: Add test showcasing loading a whole value into memory --- main/main_test.go | 7 +++++++ 1 file changed, 7 insertions(+) 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 { -- cgit v1.2.3