aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/unit/string.unit11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/unit/string.unit b/src/unit/string.unit
index c9b1ea5..90710c0 100644
--- a/src/unit/string.unit
+++ b/src/unit/string.unit
@@ -35,17 +35,6 @@ suite String
35 unitTest( strcmp( b.getStr(), "abcdef" ) == 0 ); 35 unitTest( strcmp( b.getStr(), "abcdef" ) == 0 );
36 } 36 }
37 37
38 test shared1
39 {
40 Bu::String a("Hey there");
41 Bu::String b( a );
42 unitTest( a.getConstStr() == b.getConstStr() );
43 b += " guy";
44 unitTest( a.getConstStr() != b.getConstStr() );
45 a = b;
46 unitTest( a.getConstStr() == b.getConstStr() );
47 }
48
49 test insert 38 test insert
50 { 39 {
51 Bu::String a("abcd"); 40 Bu::String a("abcd");