aboutsummaryrefslogtreecommitdiff
path: root/src/unit/blob.unit
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2023-07-11 09:22:59 -0700
committerMike Buland <eichlan@xagasoft.com>2023-07-11 09:22:59 -0700
commit3424954adfec2b2aa862d8c7ddf8f6adc433b896 (patch)
tree33f324073af535339776c3cf11c1312f9645697a /src/unit/blob.unit
parentfd7583acc0adcce2fa63d21755091ddb3077aa14 (diff)
downloadlibbu++-3424954adfec2b2aa862d8c7ddf8f6adc433b896.tar.gz
libbu++-3424954adfec2b2aa862d8c7ddf8f6adc433b896.tar.bz2
libbu++-3424954adfec2b2aa862d8c7ddf8f6adc433b896.tar.xz
libbu++-3424954adfec2b2aa862d8c7ddf8f6adc433b896.zip
Tweaked/improved tests.
Diffstat (limited to 'src/unit/blob.unit')
-rw-r--r--src/unit/blob.unit4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unit/blob.unit b/src/unit/blob.unit
index 6f98cfc..76f4baf 100644
--- a/src/unit/blob.unit
+++ b/src/unit/blob.unit
@@ -107,9 +107,9 @@ suite Blob
107 const char *sDat = "abcdefghijklmnopqrstuvwxyz"; 107 const char *sDat = "abcdefghijklmnopqrstuvwxyz";
108 Bu::Blob bDat( sDat ); 108 Bu::Blob bDat( sDat );
109 109
110 Bu::Blob::iterator i2; 110 Bu::Blob::const_iterator i2;
111 const char *sCmp = sDat; 111 const char *sCmp = sDat;
112 for( Bu::Blob::iterator i = bDat.begin(); i; i++, sCmp++ ) 112 for( Bu::Blob::const_iterator i = bDat.begin(); i; i++, sCmp++ )
113 { 113 {
114 unitTest( *i == *sCmp ); 114 unitTest( *i == *sCmp );
115 if( *i == 'k' ) 115 if( *i == 'k' )