aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/vcpkg-test/json.cpp
diff options
context:
space:
mode:
authornicole mazzuca <mazzucan@outlook.com>2020-07-06 16:45:34 -0700
committerGitHub <noreply@github.com>2020-07-06 16:45:34 -0700
commit6a41626eaf33d2f3392e06d98a94c630bfc30977 (patch)
treefb92f59f27b99c56ed48f6cae649468b4407a073 /toolsrc/src/vcpkg-test/json.cpp
parentae4968fad40e8c14541dae89c481ec32c0500426 (diff)
downloadvcpkg-6a41626eaf33d2f3392e06d98a94c630bfc30977.tar.gz
vcpkg-6a41626eaf33d2f3392e06d98a94c630bfc30977.zip
[vcpkg] Format the C++ in CI (#11655)
* [vcpkg] Format the C++ in the CI * format the C++ * CR
Diffstat (limited to 'toolsrc/src/vcpkg-test/json.cpp')
-rw-r--r--toolsrc/src/vcpkg-test/json.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/toolsrc/src/vcpkg-test/json.cpp b/toolsrc/src/vcpkg-test/json.cpp
index 86335d468..19aaaa6fe 100644
--- a/toolsrc/src/vcpkg-test/json.cpp
+++ b/toolsrc/src/vcpkg-test/json.cpp
@@ -1,10 +1,10 @@
#include <catch2/catch.hpp>
#include <iostream>
-#include <vcpkg/base/json.h>
-#include <vcpkg/base/unicode.h>
#include "math.h"
+#include <vcpkg/base/json.h>
+#include <vcpkg/base/unicode.h>
// TODO: remove this once we switch to C++20 completely
// This is the worst, but we also can't really deal with it any other way.
@@ -178,7 +178,8 @@ TEST_CASE ("JSON parse full file", "[json]")
;
auto res = Json::parse(json);
- if (!res) {
+ if (!res)
+ {
std::cerr << res.error()->format() << '\n';
}
REQUIRE(res);