From d4edbb5a0aae0211389ce86264809b4237c73769 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周日, 08 3月 2020 21:27:16 +0800 Subject: [PATCH] Issues #14 and #6 --- test/functional/date_test.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/test/functional/date_test.cpp b/test/functional/date_test.cpp index 999331c..9638f1b 100644 --- a/test/functional/date_test.cpp +++ b/test/functional/date_test.cpp @@ -31,7 +31,7 @@ BOOST_CHECK_EQUAL(result, LICENSE_OK); BOOST_CHECK_EQUAL(license.has_expiry, true); BOOST_CHECK_EQUAL(license.linked_to_pc, false); - BOOST_CHECK_GT(license.days_left, 0); + BOOST_CHECK_GT(license.days_left, (unsigned int)0); } BOOST_AUTO_TEST_CASE(license_expired) { -- Gitblit v1.9.1