github.com/0xKiwi/rules_go@v0.24.3/tests/legacy/asm_include/foo_test.go (about)

     1  package foo
     2  
     3  import "testing"
     4  
     5  func TestFoo(t *testing.T) {
     6  	x := foo()
     7  	if x != 42 {
     8  		t.Errorf("got %d; want %d", x, 42)
     9  	}
    10  }