summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2017-01-23 16:49:34 +0000
committerChris Bieneman <beanz@apple.com>2017-01-23 16:49:34 +0000
commit977db099fd99310eab7cc006a7a2e5dbfe190b98 (patch)
tree28545b77bf9ad8b59bbab4c1be480bdd4bc79bfc /llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
parent4040d6918e4ec58051b80dd01a85236113312bf4 (diff)
downloadbcm5719-llvm-977db099fd99310eab7cc006a7a2e5dbfe190b98.tar.gz
bcm5719-llvm-977db099fd99310eab7cc006a7a2e5dbfe190b98.zip
Post-commit review feedback from dblaikie
Use ASSERT_* instead of EXPECT_* for error condition. llvm-svn: 292798
Diffstat (limited to 'llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp')
-rw-r--r--llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp b/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
index b1454bc67a7..1adc0aafdc2 100644
--- a/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud