mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 03:30:35 +00:00
6c7d6cf886
There were 2 TODOs about that fix after Golang 1.8 release. It's here for 3 years already, so now should be the right time.
32 lines
1.0 KiB
Go
32 lines
1.0 KiB
Go
// Copyright 2015 The go-ethereum Authors
|
|
// This file is part of the go-ethereum library.
|
|
//
|
|
// The go-ethereum library is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU Lesser General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// The go-ethereum library is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU Lesser General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU Lesser General Public License
|
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
package tests
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestRLP(t *testing.T) {
|
|
t.Parallel()
|
|
tm := new(testMatcher)
|
|
tm.walk(t, rlpTestDir, func(t *testing.T, name string, test *RLPTest) {
|
|
if err := tm.checkFailure(t, test.Run()); err != nil {
|
|
t.Error(err)
|
|
}
|
|
})
|
|
}
|