summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_libconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_libconfig.c b/src/test/test_libconfig.c
index ff742af71..3fcc9692f 100644
--- a/src/test/test_libconfig.c
+++ b/src/test/test_libconfig.c
@@ -226,9 +226,9 @@ static const char *test_libconfig_lookup(void)
return "libconfig->lookup failed.";
}
- if ((t = libconfig->lookup_from(config.root, "Setting_Int")) == NULL) {
+ if ((t = libconfig->setting_lookup(config.root, "Setting_Int")) == NULL) {
libconfig->destroy(&config);
- return "libconfig->lookup_from failed.";
+ return "libconfig->setting_lookup failed.";
}
if (libconfig->lookup_int(&config, "Setting_Int", &i32) == CONFIG_FALSE || i32 != 1) {