From a6b6872e69cf62b9716f0283d7240b222e8c2d2c Mon Sep 17 00:00:00 2001 From: Gabriele Contini <contini.mailing@gmail.com> Date: 周日, 03 5月 2020 19:57:57 +0800 Subject: [PATCH] update license generator --- 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