From 65df6af885e81411fc0d13bce52f1bfc43a793b3 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Tue, 13 Jan 2015 23:43:30 +0100 Subject: Added further test for the Function class --- test/core/common/FunctionTest.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'test/core/common/FunctionTest.cpp') diff --git a/test/core/common/FunctionTest.cpp b/test/core/common/FunctionTest.cpp index ed20695..5b75248 100644 --- a/test/core/common/FunctionTest.cpp +++ b/test/core/common/FunctionTest.cpp @@ -52,6 +52,7 @@ TEST(Method, validation) ASSERT_EQ(3, m.call({1, 2}, &inst).asInt()); ASSERT_THROW(m.call({1}, &inst), LoggableException); ASSERT_THROW(m.call({1, "bla"}, &inst), LoggableException); + ASSERT_THROW(m.call({1, 2, true}, &inst), LoggableException); } } -- cgit v1.2.3