aboutsummaryrefslogtreecommitdiff
path: root/src/unit/buffer.unit
diff options
context:
space:
mode:
Diffstat (limited to 'src/unit/buffer.unit')
-rw-r--r--src/unit/buffer.unit22
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
13suite Buffer 13suite 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}