Files
3FS/tests/common/utils/TestToml11.cc
2025-02-27 21:53:53 +08:00

15 lines
288 B
C++

#include "tests/GtestHelpers.h"
#include "toml.hpp"
namespace hf3fs::test {
namespace {
TEST(TestToml11, Normal) {
toml::value v; // not initialized as a table.
v["foo"] = 42; // OK. `v` will be a table.
ASSERT_TRUE(v.is_table());
}
} // namespace
} // namespace hf3fs::test