mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix Travis 'dangling else' warning.
This commit is contained in:
parent
8ae330c804
commit
26b82b56e0
@ -328,8 +328,11 @@ TEST(gnc_datetime_constructors, test_gncdate_neutral_constructor)
|
||||
*/
|
||||
constexpr time64 max_western_offset = -10 * 3600;
|
||||
constexpr time64 max_eastern_offset = 13 * 3600;
|
||||
if (gncdt.offset() >= max_western_offset && gncdt.offset() <= max_eastern_offset)
|
||||
if (gncdt.offset() >= max_western_offset &&
|
||||
gncdt.offset() <= max_eastern_offset)
|
||||
{
|
||||
EXPECT_EQ(atime.format("%d-%m-%Y %H:%M:%S %z"), "20-04-2017 10:59:00 UTC");
|
||||
}
|
||||
}
|
||||
|
||||
TEST(gnc_datetime_functions, test_format)
|
||||
|
Loading…
Reference in New Issue
Block a user