Browse Source
Fix cached_witnesses_empty_chain test failure on MacOS
Assertion error format is different, so match only on the assertion.
pull/4/head
Jack Grigg
6 years ago
No known key found for this signature in database
GPG Key ID: 1B8D649257DB0829
1 changed files with
1 additions and
1 deletions
-
src/wallet/gtest/test_wallet.cpp
|
|
@ -581,7 +581,7 @@ TEST(wallet_tests, cached_witnesses_empty_chain) { |
|
|
|
|
|
|
|
// Until #1302 is implemented, this should triggger an assertion
|
|
|
|
EXPECT_DEATH(wallet.DecrementNoteWitnesses(&index), |
|
|
|
"Assertion `nWitnessCacheSize > 0' failed."); |
|
|
|
".*nWitnessCacheSize > 0.*"); |
|
|
|
} |
|
|
|
|
|
|
|
TEST(wallet_tests, cached_witnesses_chain_tip) { |
|
|
|