1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| package sandbox_test
import (
"sandbox"
"strings"
"testing"
)
func Test(t *testing.T) {
t.Parallel()
var want string = "Good"
got := sandbox.DoSomething("Good")
if strings.Compare(want, got) != 0 {
t.Errorf("want %s, got %s", want, got)
}
}
|