summaryrefslogtreecommitdiff
path: root/examples/money/MoneyTest.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/money/MoneyTest.h')
-rw-r--r--examples/money/MoneyTest.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/money/MoneyTest.h b/examples/money/MoneyTest.h
index 475f2e9..7a8e719 100644
--- a/examples/money/MoneyTest.h
+++ b/examples/money/MoneyTest.h
@@ -3,6 +3,7 @@
#define MONEYTEST_H
#include <cppunit/extensions/HelperMacros.h>
+#include "Money.h"
class MoneyTest : public CPPUNIT_NS::TestFixture
{
@@ -10,7 +11,7 @@ class MoneyTest : public CPPUNIT_NS::TestFixture
CPPUNIT_TEST( testConstructor );
CPPUNIT_TEST( testEqual );
CPPUNIT_TEST( testAdd );
- CPPUNIT_TEST( testAddThrow );
+ CPPUNIT_TEST_EXCEPTION( testAddThrow, IncompatibleMoneyError );
CPPUNIT_TEST_SUITE_END();
public: