Post-commit review feedback from dblaikie

Use ASSERT_* instead of EXPECT_* for error condition.

llvm-svn: 292798
diff --git a/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp b/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
index b1454bc..1adc0aa 100644
--- a/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
+++ b/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
@@ -1177,7 +1177,7 @@
                          "        Values:\n";
 
   auto ErrOrSections = DWARFYAML::EmitDebugSections(StringRef(yamldata));
-  EXPECT_TRUE((bool)ErrOrSections);
+  ASSERT_TRUE((bool)ErrOrSections);
 
   auto &DebugSections = *ErrOrSections;