aboutsummaryrefslogtreecommitdiff
path: root/src/unit/fstring.unit
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-09-10 20:30:12 +0000
committerMike Buland <eichlan@xagasoft.com>2009-09-10 20:30:12 +0000
commitc6523112b63839a418648a3107f1b07026b9ce2d (patch)
treeb8785f0f232b1af313a0179fbee7b6abcdf01368 /src/unit/fstring.unit
parent2c1bfa4da2ae809b6580ed1d6cd420cdba2806d0 (diff)
downloadlibbu++-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/fstring.unit')
-rw-r--r--src/unit/fstring.unit11
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}