feat(reflect-cpp): Switched from glaze -> reflect cpp
A bug was discovered in glaze which prevented valid toml output. We have switched to toml++ and reflect-cpp. The interface has remained the same so this should not break any code
This commit is contained in:
@@ -122,12 +122,12 @@ TEST_F(configTest, string_values) {
|
||||
|
||||
TEST_F(configTest, save_default) {
|
||||
using namespace fourdst::config;
|
||||
const Config<TestConfigSchema> cfg;
|
||||
Config<TestConfigSchema> cfg;
|
||||
EXPECT_NO_THROW(cfg.save("TestConfigSchema.toml"));
|
||||
}
|
||||
|
||||
TEST_F(configTest, save_schema) {
|
||||
using namespace fourdst::config;
|
||||
const Config<TestConfigSchema> cfg;
|
||||
EXPECT_NO_THROW(cfg.save_schema("./"));
|
||||
Config<TestConfigSchema> cfg;
|
||||
EXPECT_NO_THROW(cfg.save_schema("TestConfigSchema.schema.json"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user