diff --git a/examples/gno.land/r/profile/integration0_filetest.gno b/examples/gno.land/r/profile/integration0_filetest.gno deleted file mode 100644 index 0129fb1a7c5..00000000000 --- a/examples/gno.land/r/profile/integration0_filetest.gno +++ /dev/null @@ -1,16 +0,0 @@ -package main - -import ( - "gno.land/r/profile" -) - -func main() { - println(profile.Render("")) - //_ = profile.Render - // various data types - // avatar - // ip address -} - -// Output: -// a diff --git a/examples/gno.land/r/profile/profiles_test.gno b/examples/gno.land/r/profile/profiles_test.gno new file mode 100644 index 00000000000..6792a250c75 --- /dev/null +++ b/examples/gno.land/r/profile/profiles_test.gno @@ -0,0 +1,17 @@ +package profile + +import ( + "fmt" + "testing" + + "gno.land/r/profile" +) + +func TestRender(t *testing.T) { + got := profile.Render("") + fmt.Println(got) + //_ = profile.Render + // various data types + // avatar + // ip address +}