diff --git a/src/test/starlark/testdata/string_misc.sky b/src/test/starlark/testdata/string_misc.sky index ea3aa9d141d5b3..2a9d27afd3bb8c 100644 --- a/src/test/starlark/testdata/string_misc.sky +++ b/src/test/starlark/testdata/string_misc.sky @@ -43,11 +43,11 @@ assert_eq('b\\n\\n\\'.replace('\\', '$()'), "b$()n$()n$()") assert_eq('banana'.replace('a', 'e', 2), "benena") assert_eq('banana'.replace('a', 'e', 0), "banana") -assert_eq('banana'.replace('a', 'e', -1), "banana") -assert_eq('banana'.replace('a', 'e', -10), "banana") +assert_eq('banana'.replace('a', 'e', -1), "benene") +assert_eq('banana'.replace('a', 'e', -10), "benene") assert_eq('banana'.replace('', '-'), "-b-a-n-a-n-a-") -assert_eq('banana'.replace('', '-', -2), "banana") +assert_eq('banana'.replace('', '-', -2), "-b-a-n-a-n-a-") assert_eq('banana'.replace('', '-', 2), "-b-anana") assert_eq('banana'.replace('', '-', 0), "banana")