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

import (
	"fmt"
	"testing"

	"github.com/bazelbuild/rules_go/tests/cgo_pure"
)

var Expect = ""

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