diff options
author | Mike Buland <eichlan@xagasoft.com> | 2009-09-10 20:30:12 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2009-09-10 20:30:12 +0000 |
commit | c6523112b63839a418648a3107f1b07026b9ce2d (patch) | |
tree | b8785f0f232b1af313a0179fbee7b6abcdf01368 /src/unit | |
parent | 2c1bfa4da2ae809b6580ed1d6cd420cdba2806d0 (diff) | |
download | libbu++-c6523112b63839a418648a3107f1b07026b9ce2d.tar.gz libbu++-c6523112b63839a418648a3107f1b07026b9ce2d.tar.bz2 libbu++-c6523112b63839a418648a3107f1b07026b9ce2d.tar.xz libbu++-c6523112b63839a418648a3107f1b07026b9ce2d.zip |
Hey, minor updates to the formatter and a unit test, nothing important.
Diffstat (limited to 'src/unit')
-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 | } | ||