aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp')
-rw-r--r--llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp b/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
index 1ad13e8..0f5cb14 100644
--- a/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
+++ b/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
@@ -871,8 +871,7 @@ TEST(DummyRPC, TestRemoveHandler) {
Server.addHandler<DummyRPCAPI::VoidBool>(
[](bool B) {
- EXPECT_EQ(B, true)
- << "Server void(bool) received unexpected result";
+ llvm_unreachable("Server void(bool) received unexpected result");
});
Server.removeHandler<DummyRPCAPI::VoidBool>();
@@ -884,8 +883,7 @@ TEST(DummyRPC, TestClearHandlers) {
Server.addHandler<DummyRPCAPI::VoidBool>(
[](bool B) {
- EXPECT_EQ(B, true)
- << "Server void(bool) received unexpected result";
+ llvm_unreachable("Server void(bool) received unexpected result");
});
Server.clearHandlers();