From c6523112b63839a418648a3107f1b07026b9ce2d Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 10 Sep 2009 20:30:12 +0000 Subject: Hey, minor updates to the formatter and a unit test, nothing important. --- src/unit/fstring.unit | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/unit/fstring.unit') 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 @@ l.set( b.begin() ); unitTest( l == "thisthisthisthithisthisthisth" ); } + +{%isSet1} +{ + Bu::FString bob; + + unitTest( bob.isSet() == false ); + bob = "something"; + unitTest( bob.isSet() == true ); + bob = ""; + unitTest( bob.isSet() == false ); +} -- cgit v1.2.3