Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
cdunn2001 committed Oct 10, 2020
1 parent c60ebf7 commit 5d1cb30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis_scripts/run-clang-format.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,4 +353,4 @@ def main():


if __name__ == '__main__':
sys.exit(main())
sys.exit(main())
1 change: 1 addition & 0 deletions reformat.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
find src -name '*.cpp' -or -name '*.h' | xargs clang-format -i
3 changes: 1 addition & 2 deletions src/test_lib_json/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3920,8 +3920,7 @@ class VersionTest : public JsonTest::TestCase {};

JSONTEST_FIXTURE_LOCAL(VersionTest, VersionNumbersMatch) {
std::ostringstream vstr;
vstr << JSONCPP_VERSION_MAJOR << '.'
<< JSONCPP_VERSION_MINOR << '.'
vstr << JSONCPP_VERSION_MAJOR << '.' << JSONCPP_VERSION_MINOR << '.'
<< JSONCPP_VERSION_PATCH;
JSONTEST_ASSERT_EQUAL(vstr.str(), std::string(JSONCPP_VERSION_STRING));
}
Expand Down

0 comments on commit 5d1cb30

Please sign in to comment.