From b38327b8417b33e93cd524c0d41c68779731b1dc Mon Sep 17 00:00:00 2001 From: Celestino Amoroso Date: Fri, 27 Dec 2024 07:14:01 +0100 Subject: [PATCH] t_builtin-string_test.go: corrected an undefinite article --- t_builtin-string_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t_builtin-string_test.go b/t_builtin-string_test.go index be58d8a..99e0a47 100644 --- a/t_builtin-string_test.go +++ b/t_builtin-string_test.go @@ -15,7 +15,7 @@ func TestFuncString(t *testing.T) { /* 1 */ {`builtin "string"; strJoin("-", "one", "two", "three")`, "one-two-three", nil}, /* 2 */ {`builtin "string"; strJoin("-", ["one", "two", "three"])`, "one-two-three", nil}, /* 3 */ {`builtin "string"; ls= ["one", "two", "three"]; strJoin("-", ls)`, "one-two-three", nil}, - /* 4 */ {`builtin "string"; ls= ["one", "two", "three"]; strJoin(1, ls)`, nil, `strJoin(): the "separator" parameter must be a string, got a integer (1)`}, + /* 4 */ {`builtin "string"; ls= ["one", "two", "three"]; strJoin(1, ls)`, nil, `strJoin(): the "separator" parameter must be a string, got an integer (1)`}, /* 5 */ {`builtin "string"; ls= ["one", 2, "three"]; strJoin("-", ls)`, nil, `strJoin(): expected string, got integer (2)`}, /* 6 */ {`builtin "string"; "<"+strTrim(" bye bye ")+">"`, "", nil}, /* 7 */ {`builtin "string"; strSub("0123456789", 1,2)`, "12", nil},