summaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/src/xtestonly/f_test.go
blob: 01f6e83730c3911929f1d218739bb7c94810850f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package xtestonly_test

import (
	"testing"
	"xtestonly"
)

func TestF(t *testing.T) {
	if x := xtestonly.F(); x != 42 {
		t.Errorf("f.F() = %d, want 42", x)
	}
}