1package tests_test
2
3import (
4 "testing"
5
6 "gno.land/p/demo/tests"
7)
8
9var World = "WORLD"
10
11func TestGetHelloWorld(t *testing.T) {
12 // tests.World is 'world'
13 s := "hello " + tests.World + World
14 const want = "hello worldWORLD"
15 if s != want {
16 t.Error("not the same")
17 }
18}