From ffbb2fb4fcca21908ee15b8d973b1bbc1177fed6 Mon Sep 17 00:00:00 2001 From: cryptocode Date: Thu, 21 Feb 2019 15:05:08 +0100 Subject: [PATCH] Remove expect_death test (#1759) --- nano/core_test/block.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/nano/core_test/block.cpp b/nano/core_test/block.cpp index cf9aaff4..dec41938 100644 --- a/nano/core_test/block.cpp +++ b/nano/core_test/block.cpp @@ -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);