From dcaad5022124eaab9ff5b9bdf7b46fa56ef6a54d Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 15 Dec 2014 15:12:24 +0100 Subject: [PATCH] Fix unit test refs #8074 --- test/config-ops.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/config-ops.cpp b/test/config-ops.cpp index 0def87c9f..6b0ec3953 100644 --- a/test/config-ops.cpp +++ b/test/config-ops.cpp @@ -293,8 +293,7 @@ BOOST_AUTO_TEST_CASE(advanced) delete expr; expr = ConfigCompiler::CompileText("", "\"a\" = 3"); - BOOST_CHECK(expr->Evaluate(frame) == 3); - BOOST_CHECK(frame.Locals->Get("a") == 3); + BOOST_CHECK_THROW(expr->Evaluate(frame), ScriptError); delete expr; expr = ConfigCompiler::CompileText("", "3 = 3"); -- 2.40.0