mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-03 23:02:27 +00:00
compiler: make DebugInfo.convertToManifest public
Allow to generate manifest when using compiler as a library.
This commit is contained in:
parent
7d8fead1fd
commit
04bf357fa5
3 changed files with 4 additions and 4 deletions
|
@ -127,7 +127,7 @@ func unexportedMethod() int { return 1 }
|
|||
}
|
||||
|
||||
t.Run("convert to Manifest", func(t *testing.T) {
|
||||
actual, err := d.convertToManifest(smartcontract.HasStorage)
|
||||
actual, err := d.ConvertToManifest(smartcontract.HasStorage)
|
||||
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