1package test_build_constraints 2 3import ( 4 "runtime" 5 "testing" 6) 7 8func TestBazLinux(t *testing.T) { 9 if runtime.GOOS != "linux" { 10 t.Errorf("got %s; want linux", runtime.GOOS) 11 } 12} 13