summaryrefslogtreecommitdiff
path: root/test/numerics/t_amount.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-05-09 05:17:44 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-05-09 05:17:44 -0400
commitdaee971cbcde694b5f7a3ce657df5ef220210912 (patch)
tree4029f19a26ec2e5d92f244cfbdffe1cd1da22508 /test/numerics/t_amount.cc
parentd159501993cfd0215f94f0e5e16796558417b681 (diff)
downloadfork-ledger-daee971cbcde694b5f7a3ce657df5ef220210912.tar.gz
fork-ledger-daee971cbcde694b5f7a3ce657df5ef220210912.tar.bz2
fork-ledger-daee971cbcde694b5f7a3ce657df5ef220210912.zip
Got the unit tests compiling again (though not running yet).
Diffstat (limited to 'test/numerics/t_amount.cc')
-rw-r--r--test/numerics/t_amount.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/numerics/t_amount.cc b/test/numerics/t_amount.cc
index 37e7ebae..a96c7e2f 100644
--- a/test/numerics/t_amount.cc
+++ b/test/numerics/t_amount.cc
@@ -4,7 +4,7 @@ CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(AmountTestCase, "numerics");
void AmountTestCase::setUp()
{
- ledger::set_session_context(&session);
+ //ledger::set_session_context(&session);
// Cause the display precision for dollars to be initialized to 2.
amount_t x1("$1.00");
@@ -17,7 +17,7 @@ void AmountTestCase::tearDown()
{
amount_t::stream_fullstrings = false;
- ledger::set_session_context();
+ //ledger::set_session_context();
}
void AmountTestCase::testParser()