diff options
-rw-r--r-- | llvm/unittests/Support/ErrorTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/ErrorTest.cpp b/llvm/unittests/Support/ErrorTest.cpp index fadb00cf943..9c307f7113f 100644 --- a/llvm/unittests/Support/ErrorTest.cpp +++ b/llvm/unittests/Support/ErrorTest.cpp @@ -245,7 +245,7 @@ TEST(Error, HandlerShadowing) { DummyExtraInfo = SE.getExtraInfo(); }); - EXPECT_TRUE(CaughtErrorInfo = 42 && DummyInfo == 0 && DummyExtraInfo == 0) + EXPECT_TRUE(CaughtErrorInfo == 42 && DummyInfo == 0 && DummyExtraInfo == 0) << "General Error handler did not shadow specific handler"; } |