mirror of
https://github.com/falk-werner/webfused
synced 2024-10-27 20:44:08 +00:00
13 lines
253 B
C++
13 lines
253 B
C++
#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);
|
|
} |