diff options
Diffstat (limited to 'src/unit/buffer.unit')
-rw-r--r-- | src/unit/buffer.unit | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/unit/buffer.unit b/src/unit/buffer.unit index 8ed1ec5..8106e4e 100644 --- a/src/unit/buffer.unit +++ b/src/unit/buffer.unit | |||
@@ -1,6 +1,6 @@ | |||
1 | // vim: syntax=cpp | 1 | // vim: syntax=cpp |
2 | /* | 2 | /* |
3 | * Copyright (C) 2007-2010 Xagasoft, All rights reserved. | 3 | * Copyright (C) 2007-2011 Xagasoft, All rights reserved. |
4 | * | 4 | * |
5 | * This file is part of the libbu++ library and is released under the | 5 | * This file is part of the libbu++ library and is released under the |
6 | * terms of the license contained in the file LICENSE. | 6 | * terms of the license contained in the file LICENSE. |
@@ -14,12 +14,12 @@ suite Buffer | |||
14 | { | 14 | { |
15 | test emptyFile | 15 | test emptyFile |
16 | { | 16 | { |
17 | Bu::FString 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::FString 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 ); |