Skip to content

Commit 138016b

Browse files
laanwjmeshcollider
authored andcommitted
test: refactor: Use absolute include paths for test data files
1 parent e7b3163 commit 138016b

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/test/base58_tests.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
#include <base58.h>
66

7-
#include <data/base58_encode_decode.json.h>
8-
#include <data/base58_keys_invalid.json.h>
9-
#include <data/base58_keys_valid.json.h>
7+
#include <test/data/base58_encode_decode.json.h>
8+
#include <test/data/base58_keys_invalid.json.h>
9+
#include <test/data/base58_keys_valid.json.h>
1010

1111
#include <key.h>
1212
#include <script/script.h>

src/test/script_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5-
#include <data/script_tests.json.h>
5+
#include <test/data/script_tests.json.h>
66

77
#include <core_io.h>
88
#include <key.h>

src/test/sighash_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#include <consensus/tx_verify.h>
66
#include <consensus/validation.h>
7-
#include <data/sighash.json.h>
7+
#include <test/data/sighash.json.h>
88
#include <hash.h>
99
#include <script/interpreter.h>
1010
#include <script/script.h>

src/test/transaction_tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5-
#include <data/tx_invalid.json.h>
6-
#include <data/tx_valid.json.h>
5+
#include <test/data/tx_invalid.json.h>
6+
#include <test/data/tx_valid.json.h>
77
#include <test/test_bitcoin.h>
88

99
#include <clientversion.h>

0 commit comments

Comments
 (0)