From: Chris Bieneman Date: Mon, 23 Jan 2017 16:49:34 +0000 (+0000) Subject: Post-commit review feedback from dblaikie X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=274c106a4c4d50a54d1056d8058777e4bf16026a;p=llvm Post-commit review feedback from dblaikie Use ASSERT_* instead of EXPECT_* for error condition. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292798 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp b/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp index b1454bc67a7..1adc0aafdc2 100644 --- a/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp +++ b/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp @@ -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;