summaryrefslogtreecommitdiffstats
path: root/src/lib/eval/tests/evaluate_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eval/tests/evaluate_unittest.cc')
-rw-r--r--src/lib/eval/tests/evaluate_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eval/tests/evaluate_unittest.cc b/src/lib/eval/tests/evaluate_unittest.cc
index bccdba7d47..5cb090be1a 100644
--- a/src/lib/eval/tests/evaluate_unittest.cc
+++ b/src/lib/eval/tests/evaluate_unittest.cc
@@ -124,7 +124,7 @@ TEST_F(EvaluateTest, bad4) {
TokenPtr bad;
ASSERT_NO_THROW(bad.reset(new TokenString("bad")));
e_.push_back(bad);
- ASSERT_THROW(evaluate(e_, *pkt4_), EvalNotBoolError);
+ ASSERT_THROW(evaluate(e_, *pkt4_), EvalTypeError);
}
// This checks the evaluation must lead to "false" or "true"
@@ -133,7 +133,7 @@ TEST_F(EvaluateTest, bad6) {
TokenPtr bad;
ASSERT_NO_THROW(bad.reset(new TokenString("bad")));
e_.push_back(bad);
- ASSERT_THROW(evaluate(e_, *pkt6_), EvalNotBoolError);
+ ASSERT_THROW(evaluate(e_, *pkt6_), EvalTypeError);
}
// This checks the evaluation must leave only one value on the stack