Skip to content

Commit

Permalink
Merge a conflict about test files
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 committed Dec 24, 2024
1 parent e226da0 commit 4181292
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 20 deletions.
19 changes: 0 additions & 19 deletions src/tests/stdlib/replace_once.ab

This file was deleted.

16 changes: 15 additions & 1 deletion src/tests/stdlib/text_replace_one.ab
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
import * from "std/text"

// Output
// TWO one one
// a\\b\c\d
// first..second
// third
// fourth
// mono
// di
// tri

main {
echo replace_one("Succinctly", "inctly", "eeded")
echo replace_once("one one one", "one", "TWO")
echo replace_once("a\\b\\c\\d", "\\", "\\\\")
echo replace_once("first\nsecond\nthird\nfourth", "\n", "..")
// other newlines should not be touched
echo replace_once("mono\ndo\ntri", "do\n", "di\n")
}

0 comments on commit 4181292

Please sign in to comment.