// PKGPATH: gno.land/r/archive/boards_test package boards_test // SEND: 1000000ugnot import ( "testing" "gno.land/r/archive/boards" users "gno.land/r/gnoland/users/v1" ) var bid boards.BoardID func init() { testing.SetRealm(testing.NewUserRealm(address("g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm"))) // so that CurrentRealm.Addr() matches OrigCaller users.Register(cross, "gnouser123") boards.CreateThread(cross, 1, "First Post (title)", "Body of the first post. (body)") } func main() { println(boards.Render("test_board")) } // Error: // board not exist