github.com/0xKiwi/rules_go@v0.24.3/tests/legacy/cgo_select/cgo_select_test.go (about) 1 package cgo_select 2 3 import ( 4 "runtime" 5 "testing" 6 ) 7 8 func TestGoos(t *testing.T) { 9 if got, want := goos, runtime.GOOS; got != want { 10 t.Errorf("got %s; want %s\n", got, want) 11 } 12 }