The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
woop/core/blockchain_stub_test.go

16 lines
296 B

package core_test
import (
"testing"
"github.com/harmony-one/harmony/core"
"github.com/stretchr/testify/require"
)
type bc struct {
core.Stub
}
func TestName(t *testing.T) {
require.EqualError(t, bc{Stub: core.Stub{Name: "Core"}}.SetHead(0), "method SetHead not implemented for Core")
}