diff options
| author | Matthias Braun <matze@braunis.de> | 2017-06-15 22:50:57 +0000 |
|---|---|---|
| committer | Matthias Braun <matze@braunis.de> | 2017-06-15 22:50:57 +0000 |
| commit | 531f3a9c66b9e06cc7ac6c1869ab44a5732e4efc (patch) | |
| tree | fa94030cd10751ed0c5fdbdcc518387ee0bdc498 /llvm/unittests/MI | |
| parent | 589eae515e82e1f382ddf83984d6418a347d7f3a (diff) | |
| download | bcm5719-llvm-531f3a9c66b9e06cc7ac6c1869ab44a5732e4efc.tar.gz bcm5719-llvm-531f3a9c66b9e06cc7ac6c1869ab44a5732e4efc.zip | |
UnitTests: Followup to 305519
We have to use ASSERT_XXX instead of EXPECT_XXX if the test cannot
continue in the failure case.
llvm-svn: 305522
Diffstat (limited to 'llvm/unittests/MI')
| -rw-r--r-- | llvm/unittests/MI/LiveIntervalTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/MI/LiveIntervalTest.cpp b/llvm/unittests/MI/LiveIntervalTest.cpp index 43dfa4a7978..01dce37d9c6 100644 --- a/llvm/unittests/MI/LiveIntervalTest.cpp +++ b/llvm/unittests/MI/LiveIntervalTest.cpp @@ -151,7 +151,7 @@ body: | std::unique_ptr<MIRParser> MIR; std::unique_ptr<Module> M = parseMIR(Context, PM, MIR, *TM, MIRString, "func"); - EXPECT_TRUE(M); + ASSERT_TRUE(M); PM.add(new TestPass(T)); |

