mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-26 10:41:03 +08:00
clang-format
This commit is contained in:
parent
c60ebf787a
commit
5d1cb30e40
@ -353,4 +353,4 @@ def main():
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(main())
|
||||
sys.exit(main())
|
||||
|
1
reformat.sh
Normal file
1
reformat.sh
Normal file
@ -0,0 +1 @@
|
||||
find src -name '*.cpp' -or -name '*.h' | xargs clang-format -i
|
@ -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));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user