1
0
mirror of https://github.com/falk-werner/webfused synced 2024-10-27 20:44:08 +00:00
falk-werner_webfused/test/test_config.cc
2020-03-02 22:18:25 +01:00

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);
}