mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-03 11:41:48 +00:00
examples: add documentation
And provide the wallet for examples `my_wallet.json` with the owner address inside.
This commit is contained in:
parent
2f07d1aa9e
commit
0948d53244
6 changed files with 119 additions and 0 deletions
|
@ -475,6 +475,11 @@ func TestCompileExamples(t *testing.T) {
|
|||
e := newExecutor(t, false)
|
||||
|
||||
for _, info := range infos {
|
||||
if !info.IsDir() {
|
||||
// example smart contracts are located in the `/examples` subdirectories, but
|
||||
// there are also a couple of files inside the `/examples` which doesn't need to be compiled
|
||||
continue
|
||||
}
|
||||
t.Run(info.Name(), func(t *testing.T) {
|
||||
infos, err := ioutil.ReadDir(path.Join(examplePath, info.Name()))
|
||||
require.NoError(t, err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue