Remove expect_death test (#1759)

This commit is contained in:
cryptocode 2019-02-21 15:05:08 +01:00 committed by GitHub
commit ffbb2fb4fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -582,13 +582,6 @@ TEST (block_builder, state_errors)
std::error_code ec;
nano::block_builder builder;
// Make sure we assert when building a block without an std::error_code
EXPECT_DEATH (builder
.state ()
.account_hex ("xyz")
.build (),
".*");
// Ensure the proper error is generated
builder.state ().account_hex ("xrb_bad").build (ec);
ASSERT_EQ (ec, nano::error_common::bad_account_number);