diff options
author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-01-14 00:15:43 +0100 |
---|---|---|
committer | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-01-14 00:15:43 +0100 |
commit | c9c808971341c139d654c0e3eea3a461e700388a (patch) | |
tree | 7ec64bc4635787e9d76b72794f57e3602ed7838b /test/core/common/FunctionTest.cpp | |
parent | c79a672f8f3326907b522802e4d6750418a7572a (diff) | |
parent | 04e64790c24f3665bdc7d0720d23079551565ba2 (diff) |
merge.
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); } } |