parent
207f18f4fd
commit
141c857d4e
@ -0,0 +1,13 @@
|
|||||||
|
#include <gtest/gtest.h>
|
||||||
|
#include <libconfig.h>
|
||||||
|
|
||||||
|
TEST(config, is_loadable)
|
||||||
|
{
|
||||||
|
config_t config;
|
||||||
|
config_init(&config);
|
||||||
|
|
||||||
|
int result = config_read_file(&config, "webfused.conf");
|
||||||
|
ASSERT_EQ(CONFIG_TRUE, result);
|
||||||
|
|
||||||
|
config_destroy(&config);
|
||||||
|
}
|
Loading…
Reference in new issue