mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-05-19 03:47:35 +02:00
clang-format
This commit is contained in:
parent
c60ebf787a
commit
5d1cb30e40
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) {
|
JSONTEST_FIXTURE_LOCAL(VersionTest, VersionNumbersMatch) {
|
||||||
std::ostringstream vstr;
|
std::ostringstream vstr;
|
||||||
vstr << JSONCPP_VERSION_MAJOR << '.'
|
vstr << JSONCPP_VERSION_MAJOR << '.' << JSONCPP_VERSION_MINOR << '.'
|
||||||
<< JSONCPP_VERSION_MINOR << '.'
|
|
||||||
<< JSONCPP_VERSION_PATCH;
|
<< JSONCPP_VERSION_PATCH;
|
||||||
JSONTEST_ASSERT_EQUAL(vstr.str(), std::string(JSONCPP_VERSION_STRING));
|
JSONTEST_ASSERT_EQUAL(vstr.str(), std::string(JSONCPP_VERSION_STRING));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user