diff options
Diffstat (limited to 'src/unit')
-rw-r--r-- | src/unit/file.unit | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unit/file.unit b/src/unit/file.unit index e6320ad..911d8f6 100644 --- a/src/unit/file.unit +++ b/src/unit/file.unit | |||
@@ -48,7 +48,7 @@ | |||
48 | if( s < 50 ) | 48 | if( s < 50 ) |
49 | { | 49 | { |
50 | unitTest( total == 256 ); | 50 | unitTest( total == 256 ); |
51 | unitTest( sf.isEOS() == true ); | 51 | unitTest( sf.isEos() == true ); |
52 | break; | 52 | break; |
53 | } | 53 | } |
54 | } | 54 | } |
@@ -75,7 +75,7 @@ | |||
75 | int r = sf.read( buf, 256 ); | 75 | int r = sf.read( buf, 256 ); |
76 | unitTest( r == 256 ); | 76 | unitTest( r == 256 ); |
77 | // You have to read past the end to set the EOS flag. | 77 | // You have to read past the end to set the EOS flag. |
78 | unitTest( sf.isEOS() == false ); | 78 | unitTest( sf.isEos() == false ); |
79 | try | 79 | try |
80 | { | 80 | { |
81 | if( sf.read( buf, 5 ) > 0 ) | 81 | if( sf.read( buf, 5 ) > 0 ) |