diff --git a/test/config-ops.cpp b/test/config-ops.cpp index 7d62e3aa2..f2bacebef 100644 --- a/test/config-ops.cpp +++ b/test/config-ops.cpp @@ -254,6 +254,14 @@ BOOST_AUTO_TEST_CASE(advanced) expr = ConfigCompiler::CompileText("", "typeof({}) == Dictionary"); BOOST_CHECK(expr->Evaluate(frame)); delete expr; + + expr = ConfigCompiler::CompileText("", "typeof(3) == Number"); + BOOST_CHECK(expr->Evaluate(frame)); + delete expr; + + expr = ConfigCompiler::CompileText("", "typeof(\"test\") == String"); + BOOST_CHECK(expr->Evaluate(frame)); + delete expr; } BOOST_AUTO_TEST_SUITE_END()