diff options
author | MacroFake <falke.marco@gmail.com> | 2022-05-12 11:53:48 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-05-12 11:52:28 +0200 |
commit | fac2c796cb4137e025a4a783f7460e5db9c74bc2 (patch) | |
tree | f22d0ce4198bbf1c4b7cfdd4ee435ce4390c5fb7 /src/univalue/test | |
parent | dd9f61a184d4d395591ee3e9f1e839473e88ffd0 (diff) | |
parent | f403531f97cb80930e9a8e70a6f0dbde4cc8a866 (diff) |
Bump univalue subtree
Diffstat (limited to 'src/univalue/test')
-rw-r--r-- | src/univalue/test/no_nul.cpp | 2 | ||||
-rw-r--r-- | src/univalue/test/object.cpp | 12 | ||||
-rw-r--r-- | src/univalue/test/test_json.cpp | 4 | ||||
-rw-r--r-- | src/univalue/test/unitester.cpp | 7 |
4 files changed, 14 insertions, 11 deletions
diff --git a/src/univalue/test/no_nul.cpp b/src/univalue/test/no_nul.cpp index 83d292200b..3a7a727abb 100644 --- a/src/univalue/test/no_nul.cpp +++ b/src/univalue/test/no_nul.cpp @@ -1,4 +1,4 @@ -#include "univalue.h" +#include <univalue.h> int main (int argc, char *argv[]) { diff --git a/src/univalue/test/object.cpp b/src/univalue/test/object.cpp index c2f52f83ac..b9697a8cb7 100644 --- a/src/univalue/test/object.cpp +++ b/src/univalue/test/object.cpp @@ -3,13 +3,15 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or https://opensource.org/licenses/mit-license.php. -#include <stdint.h> -#include <vector> -#include <string> -#include <map> +#include <univalue.h> + #include <cassert> +#include <cstdint> +#include <map> +#include <memory> #include <stdexcept> -#include <univalue.h> +#include <string> +#include <vector> #define BOOST_FIXTURE_TEST_SUITE(a, b) #define BOOST_AUTO_TEST_CASE(funcName) void funcName() diff --git a/src/univalue/test/test_json.cpp b/src/univalue/test/test_json.cpp index 2943bae2b1..f8c10238d4 100644 --- a/src/univalue/test/test_json.cpp +++ b/src/univalue/test/test_json.cpp @@ -4,9 +4,11 @@ // It reads JSON input from stdin and exits with code 0 if it can be parsed // successfully. It also pretty prints the parsed JSON value to stdout. +#include <univalue.h> + #include <iostream> +#include <iterator> #include <string> -#include "univalue.h" using namespace std; diff --git a/src/univalue/test/unitester.cpp b/src/univalue/test/unitester.cpp index 02e1a83c6d..81b1c5d3b1 100644 --- a/src/univalue/test/unitester.cpp +++ b/src/univalue/test/unitester.cpp @@ -2,12 +2,11 @@ // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or https://opensource.org/licenses/mit-license.php. -#include <stdlib.h> -#include <stdio.h> -#include <string.h> +#include <univalue.h> + #include <cassert> +#include <cstdio> #include <string> -#include "univalue.h" #ifndef JSON_TEST_SRC #error JSON_TEST_SRC must point to test source directory |