tests: unify testdata directory

This commit is contained in:
George Tankersley
2018-12-14 19:17:27 -05:00
parent 313adc8432
commit abca4335ec
14 changed files with 15 additions and 57 deletions

View File

@@ -152,7 +152,7 @@ func TestSproutTransactionParser(t *testing.T) {
// order as the test table above. If you update the test table without
// adding a line to the raw file, this test will panic due to index
// misalignment.
testData, err := os.Open("testdata/zip143_raw_tx")
testData, err := os.Open("../testdata/zip143_raw_tx")
if err != nil {
t.Fatal(err)
}
@@ -658,7 +658,7 @@ var zip243tests = []txTestVector{
}
func TestSaplingTransactionParser(t *testing.T) {
testData, err := os.Open("testdata/zip243_raw_tx")
testData, err := os.Open("../testdata/zip243_raw_tx")
if err != nil {
t.Fatal(err)
}