From c313cee085d97aa0c24ce1491cfc66bd025d32ef Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 4 Feb 2011 04:40:31 -0500 Subject: Fixed several unit tests --- test/unit/t_balance.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'test/unit/t_balance.cc') 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(); } }; -- cgit v1.2.3