Remove expect_death test (#1759)
This commit is contained in:
parent
42bc83742c
commit
ffbb2fb4fc
1 changed files with 0 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue