diff options
Diffstat (limited to '')
-rw-r--r-- | src/unit/buffer.unit | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/unit/buffer.unit b/src/unit/buffer.unit index 8bfdc3d..8613c5b 100644 --- a/src/unit/buffer.unit +++ b/src/unit/buffer.unit | |||
@@ -12,16 +12,16 @@ | |||
12 | 12 | ||
13 | suite Buffer | 13 | suite Buffer |
14 | { | 14 | { |
15 | test emptyFile | 15 | test emptyFile |
16 | { | 16 | { |
17 | Bu::String sTmp("empty-XXXXXX"); | 17 | Bu::String sTmp("empty-XXXXXX"); |
18 | Bu::File fEmpty = tempFile(sTmp); | 18 | Bu::File fEmpty = tempFile(sTmp); |
19 | Bu::Buffer buf( fEmpty ); | 19 | Bu::Buffer buf( fEmpty ); |
20 | 20 | ||
21 | unitTest( buf.isEos() == false ); | 21 | unitTest( buf.isEos() == false ); |
22 | Bu::String sLine = buf.readLine(); | 22 | Bu::String sLine = buf.readLine(); |
23 | unitTest( sLine == "" ); | 23 | unitTest( sLine == "" ); |
24 | unitTest( fEmpty.isEos() == true ); | 24 | unitTest( fEmpty.isEos() == true ); |
25 | unitTest( buf.isEos() == true ); | 25 | unitTest( buf.isEos() == true ); |
26 | } | 26 | } |
27 | } | 27 | } |