From 274c106a4c4d50a54d1056d8058777e4bf16026a Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Mon, 23 Jan 2017 16:49:34 +0000 Subject: [PATCH] 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 --- unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0