cmd/ethtest, tests: add support for RLP JSON tests
This commit is contained in:
20
tests/rlp_test.go
Normal file
20
tests/rlp_test.go
Normal file
@ -0,0 +1,20 @@
|
||||
package tests
|
||||
|
||||
import (
|
||||
"path/filepath"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestRLP(t *testing.T) {
|
||||
err := RunRLPTest(filepath.Join(rlpTestDir, "rlptest.json"), nil)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
||||
func TestRLP_invalid(t *testing.T) {
|
||||
err := RunRLPTest(filepath.Join(rlpTestDir, "invalidRLPTest.json"), nil)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user