Search Apps Documentation Source Content File Folder Download Copy

z_0_filetest.gno

0.26 Kb ยท 16 lines
 1package main
 2
 3import (
 4	"std"
 5
 6	"gno.land/r/demo/users"
 7)
 8
 9func main() {
10	std.TestSetOrigSend(std.Coins{std.NewCoin("dontcare", 1)}, nil)
11	users.Register("", "gnouser", "my profile")
12	println("done")
13}
14
15// Error:
16// incompatible coin denominations: dontcare, ugnot