replace error_mode String and Bool with error_string and error_bool

This commit is contained in:
ado
2021-01-01 21:57:14 +01:00
parent 0ec0c7dd6a
commit 0487f33eb1
5 changed files with 22 additions and 21 deletions

View File

@@ -330,7 +330,7 @@ TEST_CASE("testing error mode") {
CHECK(!c.valid());
CHECK(c.error_msg().empty());
c.set_error_mode(ss::error_mode::String);
c.set_error_mode(ss::error_mode::error_string);
c.convert<int>("junk");
CHECK(!c.valid());
CHECK(!c.error_msg().empty());