Fix compatibility with go 1.13

This commit is contained in:
Paweł Bylica 2019-10-03 12:24:50 +02:00
parent 77aea4f0d9
commit e8adb222f6
No known key found for this signature in database
GPG key ID: 7A0C037434FE77EF

View file

@ -36,7 +36,8 @@ var (
expected string expected string
) )
var flagsParsed = func() bool { var _ = func() bool {
testing.Init()
flag.StringVar(&codefile, "codefile", "", "EVM code to run") flag.StringVar(&codefile, "codefile", "", "EVM code to run")
flag.StringVar(&input, "input", "", "input calldata") flag.StringVar(&input, "input", "", "input calldata")
flag.StringVar(&expected, "expected", "", "expected return data") flag.StringVar(&expected, "expected", "", "expected return data")