diff options
Diffstat (limited to '')
-rw-r--r-- | src/unit/fstring.unit | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/unit/fstring.unit b/src/unit/fstring.unit index 53ae780..3e4456d 100644 --- a/src/unit/fstring.unit +++ b/src/unit/fstring.unit | |||
@@ -301,3 +301,14 @@ | |||
301 | l.set( b.begin() ); | 301 | l.set( b.begin() ); |
302 | unitTest( l == "thisthisthisthithisthisthisth" ); | 302 | unitTest( l == "thisthisthisthithisthisthisth" ); |
303 | } | 303 | } |
304 | |||
305 | {%isSet1} | ||
306 | { | ||
307 | Bu::FString bob; | ||
308 | |||
309 | unitTest( bob.isSet() == false ); | ||
310 | bob = "something"; | ||
311 | unitTest( bob.isSet() == true ); | ||
312 | bob = ""; | ||
313 | unitTest( bob.isSet() == false ); | ||
314 | } | ||