Skip to content

Commit 647a432

Browse files
committed
Merge a conflict about test files
1 parent e226da0 commit 647a432

2 files changed

Lines changed: 15 additions & 20 deletions

File tree

src/tests/stdlib/replace_once.ab

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
import * from "std/text"
22

3+
// Output
4+
// TWO one one
5+
// a\\b\c\d
6+
// first..second
7+
// third
8+
// fourth
9+
// mono
10+
// di
11+
// tri
12+
313
main {
4-
echo replace_one("Succinctly", "inctly", "eeded")
14+
echo replace_one("one one one", "one", "TWO")
15+
echo replace_one("a\\b\\c\\d", "\\", "\\\\")
16+
echo replace_one("first\nsecond\nthird\nfourth", "\n", "..")
17+
// other newlines should not be touched
18+
echo replace_one("mono\ndo\ntri", "do\n", "di\n")
519
}

0 commit comments

Comments
 (0)