From a259156cb30ae5c75d2466372108b3f86de96994 Mon Sep 17 00:00:00 2001 From: Cameron Moore Date: Sun, 3 Jan 2021 12:00:17 -0600 Subject: [PATCH] tpl: Add missing test scenario for strings.Substr --- tpl/strings/strings_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tpl/strings/strings_test.go b/tpl/strings/strings_test.go index f3bb82c63a1..d2bd9907704 100644 --- a/tpl/strings/strings_test.go +++ b/tpl/strings/strings_test.go @@ -451,9 +451,9 @@ func TestSubstr(t *testing.T) { {"abcdef", -3, 1, "d"}, {"abcdef", 0, -1, "abcde"}, {"abcdef", 2, -1, "cde"}, - {"abcdef", 4, -4, ""}, - {"abcdef", 7, 1, ""}, - {"abcdef", 6, nil, ""}, + {"abcdef", 4, -4, false}, + {"abcdef", 7, 1, false}, + {"abcdef", 6, nil, false}, {"abcdef", 1, 100, "bcdef"}, {"abcdef", -100, 3, "abc"}, {"abcdef", -3, -1, "de"},