]> granicus.if.org Git - llvm/commitdiff
Post-commit review feedback from dblaikie
authorChris Bieneman <beanz@apple.com>
Mon, 23 Jan 2017 16:49:34 +0000 (16:49 +0000)
committerChris Bieneman <beanz@apple.com>
Mon, 23 Jan 2017 16:49:34 +0000 (16:49 +0000)
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

index b1454bc67a7e4e96d6fb3f92334828ef52c65b52..1adc0aafdc24d1161541f1693c48636250dc414f 100644 (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;