diff options
Diffstat (limited to 'src/unit/string.unit')
-rw-r--r-- | src/unit/string.unit | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/unit/string.unit b/src/unit/string.unit index 8f65c70..4911597 100644 --- a/src/unit/string.unit +++ b/src/unit/string.unit | |||
@@ -340,6 +340,13 @@ suite String | |||
340 | unitTest( a.replace("i", "ooo") == "Thooos ooos a test." ); | 340 | unitTest( a.replace("i", "ooo") == "Thooos ooos a test." ); |
341 | } | 341 | } |
342 | 342 | ||
343 | test replace2 | ||
344 | { | ||
345 | Bu::String a; | ||
346 | a = "aaaboostuffb"; | ||
347 | unitTest( a.replace("boo", "/") == "aaa/stuffb" ); | ||
348 | } | ||
349 | |||
343 | test coreDerefBug1 | 350 | test coreDerefBug1 |
344 | { | 351 | { |
345 | Bu::String a, b; | 352 | Bu::String a, b; |