Merge "Fix an error on bootloadermessager test teardown" am: b694ba8aab
am: 536989892c
Change-Id: I457f30c36fde0dd407a9684fbc7c2d68ac2b94c0
This commit is contained in:
commit
b2dfc0182a
1 changed files with 4 additions and 2 deletions
|
@ -33,8 +33,10 @@ class BootloaderMessageTest : public ::testing::Test {
|
|||
|
||||
virtual void TearDown() override {
|
||||
// Clear the BCB.
|
||||
std::string err;
|
||||
ASSERT_TRUE(clear_bootloader_message(&err)) << "Failed to clear BCB: " << err;
|
||||
if (has_misc) {
|
||||
std::string err;
|
||||
ASSERT_TRUE(clear_bootloader_message(&err)) << "Failed to clear BCB: " << err;
|
||||
}
|
||||
}
|
||||
|
||||
bool has_misc;
|
||||
|
|
Loading…
Reference in a new issue