From 76dd01afcddf29db6284b043c8036c5da3227001 Mon Sep 17 00:00:00 2001 From: Celestino Amoroso Date: Sat, 25 May 2024 03:30:26 +0200 Subject: [PATCH] strings_test.go: test nr 5,6 fixed --- strings_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/strings_test.go b/strings_test.go index 725ed53..97842d2 100644 --- a/strings_test.go +++ b/strings_test.go @@ -14,8 +14,8 @@ func TestStringsParser(t *testing.T) { /* 2 */ {`"uno" + 2`, `uno2`, nil}, /* 3 */ {`"uno" + (2+1)`, `uno3`, nil}, /* 4 */ {`"uno" * (2+1)`, `unounouno`, nil}, - /* 5 */ {`"abc".1`, `b`, nil}, - /* 5 */ {`#"abc"`, int64(3), nil}, + /* 5 */ {`"abc"[1]`, `b`, nil}, + /* 6 */ {`#"abc"`, int64(3), nil}, } parserTest(t, "String", inputs) }