mirror of
https://github.com/deepseek-ai/3FS
synced 2025-06-26 18:16:45 +00:00
Initial commit
This commit is contained in:
14
tests/common/utils/TestToml11.cc
Normal file
14
tests/common/utils/TestToml11.cc
Normal file
@@ -0,0 +1,14 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user