mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-08-03 12:50:02 +00:00
Fix tests' build.
This commit is contained in:
parent
defc365d21
commit
2293604e11
4 changed files with 13 additions and 13 deletions
|
@ -24,7 +24,7 @@ target_include_directories(${PROJECT_NAME}
|
|||
PRIVATE ${GLIB_INCLUDE_DIRS}
|
||||
)
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
PRIVATE tawashi_implem
|
||||
PRIVATE tawashi
|
||||
PRIVATE duckhandy
|
||||
PRIVATE ${GLIB_LIBRARIES}
|
||||
)
|
||||
|
|
|
@ -50,7 +50,7 @@ TEST_CASE ("Add and retrieve values from SettingsBag", "[settings][ini]") {
|
|||
auto ini = SafeStackObject<IniFile>(std::istream_iterator<char>(ss), std::istream_iterator<char>());
|
||||
CHECK(ini->parse_success());
|
||||
REQUIRE(ini->parsed_characters() == raw_ini_char_count);
|
||||
SettingsBag settings(ini);
|
||||
SettingsBag settings(ini, "tawashi");
|
||||
|
||||
CHECK(settings["redis_server"] == "127.0.0.1");
|
||||
CHECK(settings["empty"].empty());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue