diff options
Diffstat (limited to 'src/unit/basic.unit')
-rw-r--r-- | src/unit/basic.unit | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/unit/basic.unit b/src/unit/basic.unit index c27b70c..369e095 100644 --- a/src/unit/basic.unit +++ b/src/unit/basic.unit | |||
@@ -52,10 +52,10 @@ suite Basic | |||
52 | 52 | ||
53 | test string | 53 | test string |
54 | { | 54 | { |
55 | Bu::List<Bu::FString> lStrs; | 55 | Bu::List<Bu::String> lStrs; |
56 | Bu::MemBuf mb; | 56 | Bu::MemBuf mb; |
57 | 57 | ||
58 | lStrs.append( Bu::FString() ); | 58 | lStrs.append( Bu::String() ); |
59 | Gats::String("").write( mb ); | 59 | Gats::String("").write( mb ); |
60 | 60 | ||
61 | { | 61 | { |
@@ -66,7 +66,7 @@ suite Basic | |||
66 | } | 66 | } |
67 | for( int j = 1; j <= (1<<16); j=j<<1 ) | 67 | for( int j = 1; j <= (1<<16); j=j<<1 ) |
68 | { | 68 | { |
69 | Bu::FString s( j ); | 69 | Bu::String s( j ); |
70 | for( int x = 0; x < j; x++ ) | 70 | for( int x = 0; x < j; x++ ) |
71 | { | 71 | { |
72 | s[x] = (unsigned char)(random()%256); | 72 | s[x] = (unsigned char)(random()%256); |
@@ -78,7 +78,7 @@ suite Basic | |||
78 | 78 | ||
79 | mb.setPos( 0 ); | 79 | mb.setPos( 0 ); |
80 | 80 | ||
81 | for( Bu::List<Bu::FString>::iterator i = lStrs.begin(); i; i++ ) | 81 | for( Bu::List<Bu::String>::iterator i = lStrs.begin(); i; i++ ) |
82 | { | 82 | { |
83 | Gats::Object *pObj = Gats::Object::read( mb ); | 83 | Gats::Object *pObj = Gats::Object::read( mb ); |
84 | if( pObj->getType() != Gats::typeString ) | 84 | if( pObj->getType() != Gats::typeString ) |