From 5b52c1136d0f4c2246de2fcfda9318307130e970 Mon Sep 17 00:00:00 2001
From: Gabriele Contini <contini.mailing@gmail.com>
Date: 周一, 04 5月 2020 22:48:27 +0800
Subject: [PATCH] minor doc update

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

diff --git a/test/functional/generate-license.cpp b/test/functional/generate-license.cpp
index 98cd979..ae42689 100644
--- a/test/functional/generate-license.cpp
+++ b/test/functional/generate-license.cpp
@@ -13,6 +13,7 @@
 #include <iostream>
 
 #include <licensecc_properties_test.h>
+#include <licensecc_properties.h>
 
 #include "../../src/library/base/base.h"
 #include "../../src/library/ini/SimpleIni.h"
@@ -48,11 +49,11 @@
 	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);
-	const int sectionSize = ini.GetSectionSize("DEFAULT");
+	const int sectionSize = ini.GetSectionSize(LCC_PROJECT_NAME);
 	BOOST_CHECK_GT(sectionSize, 0);
 	return license_fname.string();
 }

--
Gitblit v1.9.1