summaryrefslogtreecommitdiffstats
path: root/test/parser
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-11-01 16:29:18 -0700
committerPatrick Venture <venture@google.com>2018-11-08 02:00:20 +0000
commitc83c4dc327447a6aee8ddebcd98963ac411169fb (patch)
tree20cadc16abe7c69e5046bff5460bb5760749b608 /test/parser
parent6c830e9dfa89a6fce124762d1f162e7efc5291dd (diff)
downloadopenpower-vpd-parser-c83c4dc327447a6aee8ddebcd98963ac411169fb.tar.gz
openpower-vpd-parser-c83c4dc327447a6aee8ddebcd98963ac411169fb.zip
Add .clang-format to repo for automated style
Add .clang-format to repo for automated style. A consistent style across Openbmc makes the code easier to read and edit. Change-Id: I7c09792d2482f0be3e01776804347700f3e3e651 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'test/parser')
-rw-r--r--test/parser/parser.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/parser/parser.cpp b/test/parser/parser.cpp
index eda30af..69b2005 100644
--- a/test/parser/parser.cpp
+++ b/test/parser/parser.cpp
@@ -1,9 +1,9 @@
-#include <defines.hpp>
-#include <store.hpp>
-#include <parser.hpp>
#include <cassert>
+#include <defines.hpp>
#include <fstream>
#include <iterator>
+#include <parser.hpp>
+#include <store.hpp>
void runTests()
{
@@ -17,8 +17,7 @@ void runTests()
auto vpdStore = parse(std::move(vpd));
- assert(("P012" ==
- vpdStore.get<Record::VINI, record::Keyword::CC>()));
+ assert(("P012" == vpdStore.get<Record::VINI, record::Keyword::CC>()));
}
}
OpenPOWER on IntegriCloud