Fix bug in test case 6
This commit is contained in:
4
entry.c
4
entry.c
@@ -221,13 +221,13 @@ void test_Ini_Get_Value() {
|
|||||||
// Test: get from section
|
// Test: get from section
|
||||||
// key - exist
|
// key - exist
|
||||||
key = "ext";
|
key = "ext";
|
||||||
szValue = PineIni_GetString(iniResult, sectionName, key, "k2v");
|
szValue = PineIni_Section_GetString(section, key, "k2v");
|
||||||
printf("Get String from <%s>.<%s> = %s\n", sectionName, key, szValue);
|
printf("Get String from <%s>.<%s> = %s\n", sectionName, key, szValue);
|
||||||
|
|
||||||
// Test: get from section
|
// Test: get from section
|
||||||
// key - not exist
|
// key - not exist
|
||||||
key = "default_play";
|
key = "default_play";
|
||||||
szValue = PineIni_GetString(iniResult, sectionName, key, "video");
|
szValue = PineIni_Section_GetString(section, key, "video");
|
||||||
printf("Get String from <%s>.<%s> = %s\n", sectionName, key, szValue);
|
printf("Get String from <%s>.<%s> = %s\n", sectionName, key, szValue);
|
||||||
|
|
||||||
// Test: get int value
|
// Test: get int value
|
||||||
|
|||||||
Reference in New Issue
Block a user