summaryrefslogtreecommitdiff
path: root/test/core/common
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-13 23:43:30 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-13 23:43:30 +0100
commit65df6af885e81411fc0d13bce52f1bfc43a793b3 (patch)
tree0a487a71474b712cbed7854bf037c7573151a777 /test/core/common
parent17420a49f5e20454462b1b1a2e5a0140cc984dcc (diff)
Added further test for the Function class
Diffstat (limited to 'test/core/common')
-rw-r--r--test/core/common/FunctionTest.cpp1
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);
}
}