aboutsummaryrefslogtreecommitdiff
path: root/src/unit
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/unit/fstring.unit7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/unit/fstring.unit b/src/unit/fstring.unit
index d218a07..2f2eb69 100644
--- a/src/unit/fstring.unit
+++ b/src/unit/fstring.unit
@@ -333,3 +333,10 @@
333 unitTest( b == "Goodbye" ); 333 unitTest( b == "Goodbye" );
334} 334}
335 335
336{%replace1}
337{
338 Bu::FString a;
339 a = "This is a test.";
340 unitTest( a.replace("i", "ooo") == "Thooos ooos a test." );
341}
342