2
0
mirror of https://github.com/boostorg/json.git synced 2026-02-13 00:22:21 +00:00

coverage odds and ends

This commit is contained in:
Vinnie Falco
2019-10-21 15:18:10 -07:00
parent fca1c57c14
commit cb34821834
3 changed files with 7 additions and 7 deletions

View File

@@ -24,6 +24,8 @@ public:
auto const ec = make_error_code(e);
ec.category().name();
BEAST_EXPECT(! ec.message().empty());
BEAST_EXPECT(ec.category().default_error_condition(
static_cast<int>(e)).category() == ec.category());
}
void check(condition c, error e)
@@ -79,7 +81,6 @@ public:
check(condition::assign_error, error::integer_overflow);
check(error::key_not_found);
check(error::test_failure);
}
};