mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Fix test
This commit is contained in:
parent
4cb3a06246
commit
b19d098e5f
1 changed files with 1 additions and 1 deletions
|
@ -666,7 +666,7 @@ replaceEachHelp = \buf, haystack, needle, flower ->
|
||||||
|> Str.concat flower
|
|> Str.concat flower
|
||||||
|> replaceEachHelp after needle flower
|
|> replaceEachHelp after needle flower
|
||||||
|
|
||||||
Err NotFound -> buf
|
Err NotFound -> Str.concat buf haystack
|
||||||
|
|
||||||
expect Str.replaceEach "abXdeXghi" "X" "_" == "ab_de_ghi"
|
expect Str.replaceEach "abXdeXghi" "X" "_" == "ab_de_ghi"
|
||||||
expect Str.replaceEach "abcdefg" "nothing" "_" == "abcdefg"
|
expect Str.replaceEach "abcdefg" "nothing" "_" == "abcdefg"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue