File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ require (
7
7
github.com/ava-labs/subnet-evm v0.5.3
8
8
github.com/onsi/ginkgo/v2 v2.8.1
9
9
github.com/onsi/gomega v1.26.0
10
+ github.com/stretchr/testify v1.8.3
10
11
)
11
12
12
13
require (
@@ -87,7 +88,6 @@ require (
87
88
github.com/spf13/pflag v1.0.5 // indirect
88
89
github.com/spf13/viper v1.12.0 // indirect
89
90
github.com/status-im/keycard-go v0.2.0 // indirect
90
- github.com/stretchr/testify v1.8.3 // indirect
91
91
github.com/subosito/gotenv v1.3.0 // indirect
92
92
github.com/supranational/blst v0.3.11-0.20220920110316-f72618070295 // indirect
93
93
github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a // indirect
Original file line number Diff line number Diff line change 9
9
10
10
ginkgo "github.com/onsi/ginkgo/v2"
11
11
"github.com/onsi/gomega"
12
+ "github.com/stretchr/testify/require"
12
13
13
14
// Import the solidity package, so that ginkgo maps out the tests declared within the package
14
15
_ "github.com/ava-labs/precompile-evm/tests/precompile/solidity"
@@ -17,7 +18,8 @@ import (
17
18
18
19
func TestE2E (t * testing.T ) {
19
20
if basePath := os .Getenv ("TEST_SOURCE_ROOT" ); basePath != "" {
20
- os .Chdir (basePath )
21
+ err := os .Chdir (basePath )
22
+ require .NoError (t , err )
21
23
}
22
24
gomega .RegisterFailHandler (ginkgo .Fail )
23
25
solidity .RegisterAsyncTests ()
You can’t perform that action at this time.
0 commit comments