From 004073a7b79dc9c455416703d30f4922b4577172 Mon Sep 17 00:00:00 2001 From: Gabriele Contini <contini.mailing@gmail.com> Date: 周六, 16 5月 2020 23:18:22 +0800 Subject: [PATCH] tentative fix for test failing when in submodule --- 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