summaryrefslogtreecommitdiff
path: root/test/io/read_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/io/read_test.cpp')
-rw-r--r--test/io/read_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/io/read_test.cpp b/test/io/read_test.cpp
index d3ea8b7765..a6de378e1d 100644
--- a/test/io/read_test.cpp
+++ b/test/io/read_test.cpp
@@ -55,13 +55,13 @@ void test_stream_reader_big()
ASSERT(reader.read_string() == "foobar");
- EXPECT_EXCEPTION(reader.read_type(false), io::stream_reader::input_error);
+ EXPECT_EXCEPTION(reader.read_type(false), io::input_error);
ASSERT(!is);
is.clear();
//Test for invalid tag type 12
is.str("\x0c");
- EXPECT_EXCEPTION(reader.read_type(), io::stream_reader::input_error);
+ EXPECT_EXCEPTION(reader.read_type(), io::input_error);
ASSERT(!is);
is.clear();
@@ -93,7 +93,7 @@ void test_stream_reader_little()
ASSERT(reader.read_string() == "foobar");
- EXPECT_EXCEPTION(reader.read_string(), io::stream_reader::input_error);
+ EXPECT_EXCEPTION(reader.read_string(), io::input_error);
ASSERT(!is);
}