diff options
Diffstat (limited to 'test/serialization_test_path.cpp')
-rw-r--r-- | test/serialization_test_path.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/test/serialization_test_path.cpp b/test/serialization_test_path.cpp index 50e7d08..379b124 100644 --- a/test/serialization_test_path.cpp +++ b/test/serialization_test_path.cpp @@ -1,6 +1,6 @@ -#include "serialization_tests.hpp" #include "elog_entry.hpp" #include "elog_serialize.hpp" +#include "serialization_tests.hpp" namespace phosphor { @@ -13,10 +13,7 @@ TEST_F(TestSerialization, testPath) { auto id = 99; auto e = std::make_unique<Entry>( - bus, - std::string(OBJ_ENTRY) + '/' + std::to_string(id), - id, - manager); + bus, std::string(OBJ_ENTRY) + '/' + std::to_string(id), id, manager); auto path = serialize(*e, TestSerialization::dir); EXPECT_EQ(path.c_str(), TestSerialization::dir / std::to_string(id)); } @@ -24,5 +21,3 @@ TEST_F(TestSerialization, testPath) } // namespace test } // namespace logging } // namespace phosphor - - |