diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-11-24 00:15:26 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-11-24 00:15:26 +0000 |
commit | ed402db706488ab910b7c810684379cc2d7b7662 (patch) | |
tree | f23f8ac4725f7b44e28e8f2a4c65302fe6aa0533 /src/unit/fstring.cpp | |
parent | d09fbd451f492ab0df5c45f8205172b1035ce210 (diff) | |
download | libbu++-ed402db706488ab910b7c810684379cc2d7b7662.tar.gz libbu++-ed402db706488ab910b7c810684379cc2d7b7662.tar.bz2 libbu++-ed402db706488ab910b7c810684379cc2d7b7662.tar.xz libbu++-ed402db706488ab910b7c810684379cc2d7b7662.zip |
Alright, *now* remove works.
Diffstat (limited to 'src/unit/fstring.cpp')
-rw-r--r-- | src/unit/fstring.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unit/fstring.cpp b/src/unit/fstring.cpp index 03df9c3..b00f11b 100644 --- a/src/unit/fstring.cpp +++ b/src/unit/fstring.cpp | |||
@@ -86,6 +86,9 @@ public: | |||
86 | unitTest( a == "abcd" ); | 86 | unitTest( a == "abcd" ); |
87 | a.remove( 2, 5 ); | 87 | a.remove( 2, 5 ); |
88 | unitTest( a == "ab" ); | 88 | unitTest( a == "ab" ); |
89 | a += "cdefghijklmnop"; | ||
90 | a.remove( 5, 1 ); | ||
91 | unitTest( a = "abcdeghijklmnop" ); | ||
89 | } | 92 | } |
90 | }; | 93 | }; |
91 | 94 | ||