Post-commit review feedback from dblaikie
Use ASSERT_* instead of EXPECT_* for error condition. llvm-svn: 292798
This commit is contained in:
parent
4040d6918e
commit
977db099fd
|
@ -1177,7 +1177,7 @@ TEST(DWARFDebugInfo, TestEmptyChildren) {
|
|||
" Values:\n";
|
||||
|
||||
auto ErrOrSections = DWARFYAML::EmitDebugSections(StringRef(yamldata));
|
||||
EXPECT_TRUE((bool)ErrOrSections);
|
||||
ASSERT_TRUE((bool)ErrOrSections);
|
||||
|
||||
auto &DebugSections = *ErrOrSections;
|
||||
|
||||
|
|
Loading…
Reference in New Issue