diff options
author | fanquake <fanquake@gmail.com> | 2021-10-11 20:45:56 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-10-11 20:45:56 +0800 |
commit | 304319367595b51abfd69f1c4abddeef0acca3a9 (patch) | |
tree | 21489a4be6d6656a08569eeffe212277283deac0 /src/univalue/test | |
parent | 1790a8ddacae0d52135f5020894ef1ceef625cf9 (diff) | |
parent | 9b49ed656fb2b687fbbe8a3236d18285957eee16 (diff) |
Update univalue subtree to latest upstream
Diffstat (limited to 'src/univalue/test')
-rw-r--r-- | src/univalue/test/object.cpp | 2 | ||||
-rw-r--r-- | src/univalue/test/unitester.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/univalue/test/object.cpp b/src/univalue/test/object.cpp index ccc1344836..c2f52f83ac 100644 --- a/src/univalue/test/object.cpp +++ b/src/univalue/test/object.cpp @@ -1,7 +1,7 @@ // Copyright (c) 2014 BitPay Inc. // Copyright (c) 2014-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying -// file COPYING or http://www.opensource.org/licenses/mit-license.php. +// file COPYING or https://opensource.org/licenses/mit-license.php. #include <stdint.h> #include <vector> diff --git a/src/univalue/test/unitester.cpp b/src/univalue/test/unitester.cpp index 2308afbcdf..02e1a83c6d 100644 --- a/src/univalue/test/unitester.cpp +++ b/src/univalue/test/unitester.cpp @@ -1,6 +1,6 @@ // Copyright 2014 BitPay Inc. // Distributed under the MIT/X11 software license, see the accompanying -// file COPYING or http://www.opensource.org/licenses/mit-license.php. +// file COPYING or https://opensource.org/licenses/mit-license.php. #include <stdlib.h> #include <stdio.h> @@ -58,7 +58,7 @@ static void runtest_file(const char *filename_) std::string basename(filename_); std::string filename = srcdir + "/" + basename; FILE *f = fopen(filename.c_str(), "r"); - assert(f != NULL); + assert(f != nullptr); std::string jdata; |