clang-format
diff --git a/.travis_scripts/run-clang-format.py b/.travis_scripts/run-clang-format.py
index 68179aa..605b5aa 100755
--- a/.travis_scripts/run-clang-format.py
+++ b/.travis_scripts/run-clang-format.py
@@ -353,4 +353,4 @@
if __name__ == '__main__':
- sys.exit(main())
\ No newline at end of file
+ sys.exit(main())
diff --git a/reformat.sh b/reformat.sh
new file mode 100644
index 0000000..cdc03b1
--- /dev/null
+++ b/reformat.sh
@@ -0,0 +1 @@
+find src -name '*.cpp' -or -name '*.h' | xargs clang-format -i
diff --git a/src/test_lib_json/main.cpp b/src/test_lib_json/main.cpp
index 540e66b..f296923 100644
--- a/src/test_lib_json/main.cpp
+++ b/src/test_lib_json/main.cpp
@@ -3920,8 +3920,7 @@
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));
}