// PKGPATH: gno.land/r/gnoland/boards2/v0/filetests/z_set_flagging_threshold_01_filetest package z_set_flagging_threshold_01_filetest import ( "testing" "gno.land/p/gnoland/boards/v0" boards2 "gno.land/r/gnoland/boards2/v0" ) const ( owner address = "g1skl80cuz8zq3lul9pgz5pc35l2pfzgxgfpsqkx" bid boards.ID = 404 ) func main(cur realm) { testing.SetRealm(testing.NewUserRealm(owner)) boards2.SetFlaggingThreshold(cross(cur), bid, 1) } // Error: // board does not exist with ID: 404