Post-commit review feedback from dblaikie

Use ASSERT_* instead of EXPECT_* for error condition.

llvm-svn: 292798
This commit is contained in:
Chris Bieneman 2017-01-23 16:49:34 +00:00
parent 4040d6918e
commit 977db099fd
1 changed files with 1 additions and 1 deletions

View File

@ -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;