This commit is contained in:
Ingo Oppermann 2023-04-03 10:57:43 +02:00
parent 30be82c9fb
commit 31a60598ee
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E

View File

@ -69,7 +69,7 @@ func TestReplaceInvalid(t *testing.T) {
)
replaced := r.Replace("{foo:bar, who=World}", "foo:bar", "", nil, nil, "")
require.Equal(t, "Hello World! defaultWhat?", replaced)
require.Equal(t, "Hello ! ?", replaced)
}
func TestReplacerFunc(t *testing.T) {