// PKGPATH: gno.land/r/gnoland/boards2/v1/filetests/z_set_flagging_threshold_02_filetest package z_set_flagging_threshold_02_filetest import ( "testing" boards2 "gno.land/r/gnoland/boards2/v1" ) const owner address = "g1rp7cmetn27eqlpjpc4vuusf8kaj746tysc0qgh" func main(cur realm) { testing.SetRealm(testing.NewUserRealm(owner)) boards2.SetFlaggingThreshold(cross(cur), 1, 0) } // Error: // invalid flagging threshold