aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/SoilMoistureIoTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SoilMoistureIoTest.cpp b/test/SoilMoistureIoTest.cpp
index 3e62b05..e7889d0 100644
--- a/test/SoilMoistureIoTest.cpp
+++ b/test/SoilMoistureIoTest.cpp
@@ -11,7 +11,7 @@ BOOST_AUTO_TEST_CASE(key_value_parser) {
auto buffer = make_shared<VectorSampleOutputStream>();
- auto parser = new KeyValueSampleParser(buffer, dict);
+ auto parser = new KeyValueSampleStreamParser(buffer, dict);
char data[] = "a=1, b=2, c=3\n";
parser->process(boost::asio::buffer(data, sizeof(data)));
@@ -34,7 +34,7 @@ BOOST_AUTO_TEST_CASE(key_value_parser_with_custom_dict) {
auto buffer = make_shared<VectorSampleOutputStream>();
- auto parser = new KeyValueSampleParser(buffer, dict);
+ auto parser = new KeyValueSampleStreamParser(buffer, dict);
char data[] = "a=1, b=2, c=3\n";
parser->process(boost::asio::buffer(data, sizeof(data)));