scripts: add test for compare-dumps script
This commit is contained in:
parent
5b4f6d255f
commit
f0324a1230
2 changed files with 14 additions and 1 deletions
13
scripts/compare-dumps_test.go
Normal file
13
scripts/compare-dumps_test.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
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))
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue