gnucash master: Change last test in test-gnc-timezone to EXPECT_EQ so it will log the results.
John Ralls
jralls at code.gnucash.org
Fri Jan 13 17:03:32 EST 2017
Updated via https://github.com/Gnucash/gnucash/commit/09cbb9c1 (commit)
from https://github.com/Gnucash/gnucash/commit/8de841f1 (commit)
commit 09cbb9c12e2bf026661841e4fcf7a7b4b82a5d80
Author: John Ralls <jralls at ceridwen.us>
Date: Fri Jan 13 14:03:16 2017 -0800
Change last test in test-gnc-timezone to EXPECT_EQ so it will log the results.
diff --git a/src/libqof/qof/test/gtest-gnc-timezone.cpp b/src/libqof/qof/test/gtest-gnc-timezone.cpp
index b7e4f51..896fd9a 100644
--- a/src/libqof/qof/test/gtest-gnc-timezone.cpp
+++ b/src/libqof/qof/test/gtest-gnc-timezone.cpp
@@ -74,6 +74,6 @@ TEST(gnc_timezone_constructors, test_bogus_time_constructor)
{
TimeZoneProvider tzp ("New York Standard Time");
TimeZoneProvider machine ("");
- EXPECT_TRUE(machine.get(2006)->std_zone_abbrev() ==
- tzp.get(2006)->std_zone_abbrev());
+ EXPECT_EQ(machine.get(2006)->std_zone_abbrev(),
+ tzp.get(2006)->std_zone_abbrev());
}
Summary of changes:
src/libqof/qof/test/gtest-gnc-timezone.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the gnucash-changes
mailing list