diff options
Diffstat (limited to 'test/core/common/FunctionTest.cpp')
-rw-r--r-- | test/core/common/FunctionTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); } } |