diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-04-16 13:11:54 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-04-16 13:32:36 -0400 |
commit | fac5c373006a9e4bcbb56843bb85f1aca4d87599 (patch) | |
tree | 0976fd8c1e4180bd9ae5edf45b3bca58146771d2 /src/test/addrman_tests.cpp | |
parent | d8dfcea5d956126fe0e2b1f36db74c8ef805e7ab (diff) |
scripted-diff: Sort test includes
-BEGIN VERIFY SCRIPT-
# Mark all lines with #includes
sed -i --regexp-extended -e 's/(#include <.*>)/\1 /g' $(git grep -l '#include' ./src/bench/ ./src/test ./src/wallet/test/)
# Sort all marked lines
git diff -U0 | ./contrib/devtools/clang-format-diff.py -p1 -i -v
-END VERIFY SCRIPT-
Diffstat (limited to 'src/test/addrman_tests.cpp')
-rw-r--r-- | src/test/addrman_tests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/addrman_tests.cpp b/src/test/addrman_tests.cpp index dfa8a6df21..2f7f7fae59 100644 --- a/src/test/addrman_tests.cpp +++ b/src/test/addrman_tests.cpp @@ -2,12 +2,12 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <addrman.h> -#include <test/util/setup_common.h> -#include <string> #include <boost/test/unit_test.hpp> +#include <string> +#include <test/data/asmap.raw.h> +#include <test/util/setup_common.h> #include <util/asmap.h> #include <util/string.h> -#include <test/data/asmap.raw.h> #include <hash.h> #include <netbase.h> |