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
|
||||
// key - exist
|
||||
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);
|
||||
|
||||
// Test: get from section
|
||||
// key - not exist
|
||||
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);
|
||||
|
||||
// Test: get int value
|
||||
|
||||
Reference in New Issue
Block a user