From 7c36f58654f1b238d1b416927c9485a151216b1b Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 4 Aug 2023 13:31:04 -0700 Subject: Removed the shared unit test for strings. Strings are no longer shared. --- src/unit/string.unit | 11 ----------- 1 file changed, 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 unitTest( strcmp( b.getStr(), "abcdef" ) == 0 ); } - test shared1 - { - Bu::String a("Hey there"); - Bu::String b( a ); - unitTest( a.getConstStr() == b.getConstStr() ); - b += " guy"; - unitTest( a.getConstStr() != b.getConstStr() ); - a = b; - unitTest( a.getConstStr() == b.getConstStr() ); - } - test insert { Bu::String a("abcd"); -- cgit v1.2.3