mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-29 23:33:37 +00:00
14 lines
279 B
Go
14 lines
279 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/nspcc-dev/neo-go/pkg/core/native"
|
||
|
"github.com/stretchr/testify/require"
|
||
|
)
|
||
|
|
||
|
func TestCompatibility(t *testing.T) {
|
||
|
cs := native.NewContracts(false, map[string][]uint32{})
|
||
|
require.Equal(t, cs.Ledger.ID, int32(ledgerContractID))
|
||
|
}
|