diff options
| author | ljfa-ag <ljfa-ag@web.de> | 2015-08-06 10:27:06 +0200 |
|---|---|---|
| committer | ljfa-ag <ljfa-ag@web.de> | 2015-08-06 10:27:06 +0200 |
| commit | b5cff8cc5c72c8d895e97075c0ab0f223cd81b09 (patch) | |
| tree | 2fbc937b2ddab3cca102341caadd6c6cc6373d45 /test/io/read_test.cpp | |
| parent | 7626425b2c6299b38865aa10c8d912e946f5f88f (diff) | |
| download | Project-Tick-b5cff8cc5c72c8d895e97075c0ab0f223cd81b09.tar.gz Project-Tick-b5cff8cc5c72c8d895e97075c0ab0f223cd81b09.zip | |
Move input_error out from stream_reader
Diffstat (limited to 'test/io/read_test.cpp')
| -rw-r--r-- | test/io/read_test.cpp | 6 |
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); } |
