summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/csv.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/csv.cpp b/src/tests/csv.cpp
index 03e1df8..96db756 100644
--- a/src/tests/csv.cpp
+++ b/src/tests/csv.cpp
@@ -2,6 +2,7 @@
2#include "bu/file.h" 2#include "bu/file.h"
3#include "bu/newline.h" 3#include "bu/newline.h"
4#include "bu/csvreader.h" 4#include "bu/csvreader.h"
5#include "bu/buffer.h"
5#include "bu/sio.h" 6#include "bu/sio.h"
6 7
7using namespace Bu; 8using namespace Bu;
@@ -23,7 +24,8 @@ public:
23 { 24 {
24 File fIn( aArgs[1], File::Read ); 25 File fIn( aArgs[1], File::Read );
25 NewLine nlIn( fIn ); 26 NewLine nlIn( fIn );
26 CsvReader rCsv( nlIn ); 27 Buffer bIn( nlIn );
28 CsvReader rCsv( bIn );
27 while( !fIn.isEos() ) 29 while( !fIn.isEos() )
28 { 30 {
29 sio << rCsv.readLine() << sio.nl; 31 sio << rCsv.readLine() << sio.nl;