Skip to content

Commit 5d1cb30

Browse files
committed
clang-format
1 parent c60ebf7 commit 5d1cb30

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.travis_scripts/run-clang-format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,4 +353,4 @@ def main():
353353

354354

355355
if __name__ == '__main__':
356-
sys.exit(main())
356+
sys.exit(main())

reformat.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
find src -name '*.cpp' -or -name '*.h' | xargs clang-format -i

src/test_lib_json/main.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3920,8 +3920,7 @@ class VersionTest : public JsonTest::TestCase {};
39203920

39213921
JSONTEST_FIXTURE_LOCAL(VersionTest, VersionNumbersMatch) {
39223922
std::ostringstream vstr;
3923-
vstr << JSONCPP_VERSION_MAJOR << '.'
3924-
<< JSONCPP_VERSION_MINOR << '.'
3923+
vstr << JSONCPP_VERSION_MAJOR << '.' << JSONCPP_VERSION_MINOR << '.'
39253924
<< JSONCPP_VERSION_PATCH;
39263925
JSONTEST_ASSERT_EQUAL(vstr.str(), std::string(JSONCPP_VERSION_STRING));
39273926
}

0 commit comments

Comments
 (0)