summaryrefslogtreecommitdiff
path: root/test/unit/t_balance.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-02-04 04:40:31 -0500
committerJohn Wiegley <johnw@newartisans.com>2011-02-04 04:40:31 -0500
commitc313cee085d97aa0c24ce1491cfc66bd025d32ef (patch)
treea7614ad88e7f6d8d5386dcd3472be225287a2fae /test/unit/t_balance.cc
parent8c81a1decbb40f62c1b808d4203b0863059769fb (diff)
downloadfork-ledger-c313cee085d97aa0c24ce1491cfc66bd025d32ef.tar.gz
fork-ledger-c313cee085d97aa0c24ce1491cfc66bd025d32ef.tar.bz2
fork-ledger-c313cee085d97aa0c24ce1491cfc66bd025d32ef.zip
Fixed several unit tests
Diffstat (limited to 'test/unit/t_balance.cc')
-rw-r--r--test/unit/t_balance.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/unit/t_balance.cc b/test/unit/t_balance.cc
index b74a54e7..0d681a88 100644
--- a/test/unit/t_balance.cc
+++ b/test/unit/t_balance.cc
@@ -10,21 +10,21 @@ using namespace ledger;
struct balance_fixture {
balance_fixture() {
- times_initialize();
- amount_t::initialize();
+ times_initialize();
+ amount_t::initialize();
- // Cause the display precision for dollars to be initialized to 2.
- amount_t x1("$1.00");
- BOOST_CHECK(x1);
+ // Cause the display precision for dollars to be initialized to 2.
+ amount_t x1("$1.00");
+ BOOST_CHECK(x1);
- amount_t::stream_fullstrings = true; // make reports from UnitTests accurate
+ amount_t::stream_fullstrings = true; // make reports from UnitTests accurate
}
~balance_fixture()
{
- amount_t::stream_fullstrings = false;
- amount_t::shutdown();
- times_shutdown();
+ amount_t::stream_fullstrings = false;
+ amount_t::shutdown();
+ times_shutdown();
}
};