From d0b85cf10415a378c11d385066bb27116f2c2df1 Mon Sep 17 00:00:00 2001
From: Shahar Hadas <shaharhd@gmail.com>
Date: 周日, 10 5月 2020 19:18:01 +0800
Subject: [PATCH] Fix network detection for Windows OS (#94)

---
 test/functional/generate-license.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/functional/generate-license.cpp b/test/functional/generate-license.cpp
index 59e55ae..cdaa175 100644
--- a/test/functional/generate-license.cpp
+++ b/test/functional/generate-license.cpp
@@ -43,13 +43,13 @@
 	ss << " --" PARAM_LICENSE_OUTPUT " " << license_fname_s;
 	ss << " --" PARAM_PROJECT_FOLDER " " << LCC_TEST_LICENSES_PROJECT;
 
-	for (int i = 0; i < other_args.size(); i++) {
+	for (size_t i = 0; i < other_args.size(); i++) {
 		ss << " " << other_args[i];
 	}
 	cout << "executing :" << ss.str() << endl;
 	const int retCode = std::system(ss.str().c_str());
 	BOOST_CHECK_EQUAL(retCode, 0);
-	BOOST_ASSERT(fs::exists(license_fname));
+	BOOST_ASSERT_MSG(fs::exists(license_fname), "license exists");
 	CSimpleIniA ini;
 	const SI_Error rc = ini.LoadFile(license_fname.c_str());
 	BOOST_CHECK_GE(rc, 0);

--
Gitblit v1.9.1