aboutsummaryrefslogtreecommitdiffstats
path: root/tests/transaction_test_util.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-06-11 06:11:30 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-06-19 04:20:45 +0800
commit6ff956394a26fe13c774797284220b8231ebf809 (patch)
treef5d739218bf55a62505cb809e076613c9bb5ebac /tests/transaction_test_util.go
parentac0637c41332de1f49fb0955f4fbe0fb908a77d5 (diff)
downloadgo-tangerine-6ff956394a26fe13c774797284220b8231ebf809.tar.gz
go-tangerine-6ff956394a26fe13c774797284220b8231ebf809.tar.zst
go-tangerine-6ff956394a26fe13c774797284220b8231ebf809.zip
DRY file loading
Diffstat (limited to 'tests/transaction_test_util.go')
-rw-r--r--tests/transaction_test_util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/transaction_test_util.go b/tests/transaction_test_util.go
index 65e2c7591..2864257b7 100644
--- a/tests/transaction_test_util.go
+++ b/tests/transaction_test_util.go
@@ -37,7 +37,7 @@ func RunTransactionTests(file string) error {
}
bt := make(map[string]TransactionTest)
- if err := LoadJSON(file, &bt); err != nil {
+ if err := readTestFile(file, &bt); err != nil {
return err
}