aboutsummaryrefslogtreecommitdiff
path: root/tests/legacy/empty_package/empty_package_test.go
blob: 73ce42593b6506ef9354769a4208f0b0b6dc4982 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package empty_package_test

import (
	"fmt"
	"testing"

	"github.com/bazelbuild/rules_go/tests/empty_package/mixed"
)

var Expect = ""

func TestValue(t *testing.T) {
	got := fmt.Sprintf("%d", mixed.Value)
	if got != Expect {
		t.Errorf("got %q; want %q", got, Expect)
	}
}