mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-03 23:02:27 +00:00
compiler: use Options
in ConvertToManifest()
This commit is contained in:
parent
03d32ecd61
commit
9fd8577dd9
5 changed files with 13 additions and 13 deletions
|
@ -150,7 +150,7 @@ func _deploy(isUpdate bool) {}
|
|||
}
|
||||
|
||||
t.Run("convert to Manifest", func(t *testing.T) {
|
||||
actual, err := d.ConvertToManifest("MyCTR", nil)
|
||||
actual, err := d.ConvertToManifest(&Options{Name: "MyCTR"})
|
||||
require.NoError(t, err)
|
||||
// note: offsets are hard to predict, so we just take them from the output
|
||||
expected := &manifest.Manifest{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue