Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leohhhn committed Jan 17, 2025
1 parent 29ac934 commit caeab81
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions examples/gno.land/r/gov/dao/v2/prop1_filetest.gno
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ import (

"gno.land/p/demo/dao"
pVals "gno.land/p/sys/validators"
_ "gno.land/r/gov/dao/loader"
govdao "gno.land/r/gov/dao/v2"
validators "gno.land/r/sys/validators/v2"
)

func init() {

changesFn := func() []pVals.Validator {
return []pVals.Validator{
{
Expand Down
1 change: 1 addition & 0 deletions examples/gno.land/r/gov/dao/v2/prop2_filetest.gno
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (

"gno.land/p/demo/dao"
gnoblog "gno.land/r/gnoland/blog"
_ "gno.land/r/gov/dao/loader"
govdao "gno.land/r/gov/dao/v2"
)

Expand Down
1 change: 1 addition & 0 deletions examples/gno.land/r/gov/dao/v2/prop3_filetest.gno
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"gno.land/p/demo/dao"
"gno.land/p/demo/membstore"
"gno.land/r/gov/dao/bridge"
_ "gno.land/r/gov/dao/loader"
govdao "gno.land/r/gov/dao/v2"
)

Expand Down
1 change: 1 addition & 0 deletions examples/gno.land/r/gov/dao/v2/prop4_filetest.gno
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package main
import (
"gno.land/p/demo/dao"
"gno.land/r/gov/dao/bridge"
_ "gno.land/r/gov/dao/loader"
govdaov2 "gno.land/r/gov/dao/v2"
"gno.land/r/sys/params"
)
Expand Down
5 changes: 4 additions & 1 deletion examples/gno.land/r/sys/params/params_test.gno
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
package params

import "testing"
import (
_ "gno.land/r/gov/dao/loader"
"testing"
)

// Testing this package is limited because it only contains an `std.Set` method
// without a corresponding `std.Get` method. For comprehensive testing, refer to
Expand Down

0 comments on commit caeab81

Please sign in to comment.