diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-13 23:43:30 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-13 23:43:30 +0100 |
commit | 65df6af885e81411fc0d13bce52f1bfc43a793b3 (patch) | |
tree | 0a487a71474b712cbed7854bf037c7573151a777 | |
parent | 17420a49f5e20454462b1b1a2e5a0140cc984dcc (diff) |
Added further test for the Function class
-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); } } |