summaryrefslogtreecommitdiffstats
path: root/test/sample_unittest.cpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-08-31 11:55:55 -0700
committerPatrick Venture <venture@google.com>2018-09-07 23:45:41 +0000
commit0b02be925a29357f69abbc9e9a58e7c5aaed2eab (patch)
treec1b39f817d98ffda7b987f9e3f864f576e3bf9ea /test/sample_unittest.cpp
parent26f80ab2cc41deadc913190d906f71266c4ed224 (diff)
downloadphosphor-host-ipmid-0b02be925a29357f69abbc9e9a58e7c5aaed2eab.tar.gz
phosphor-host-ipmid-0b02be925a29357f69abbc9e9a58e7c5aaed2eab.zip
add .clang-format
Change-Id: I7c2a527b4751a560703a61fcbe9638b150546af5 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'test/sample_unittest.cpp')
-rw-r--r--test/sample_unittest.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/sample_unittest.cpp b/test/sample_unittest.cpp
index 2a27279..e574173 100644
--- a/test/sample_unittest.cpp
+++ b/test/sample_unittest.cpp
@@ -1,6 +1,8 @@
#include "sample.h"
+
#include <gtest/gtest.h>
-TEST(FactorialTest, Zero) {
+TEST(FactorialTest, Zero)
+{
EXPECT_EQ(1, Factorial(0));
}
OpenPOWER on IntegriCloud