Lines Matching refs:tt
133 for _, tt := range tests {
135 gotok := compareAPI(buf, tt.features, tt.required, tt.optional, tt.exception, true)
136 if gotok != tt.ok {
137 t.Errorf("%s: ok = %v; want %v", tt.name, gotok, tt.ok)
139 if got := buf.String(); got != tt.out {
140 t.Errorf("%s: output differs\nGOT:\n%s\nWANT:\n%s", tt.name, got, tt.out)
157 for _, tt := range tests {
158 got := !internalPkg.MatchString(tt.pkg)
159 if got != tt.want {
160 t.Errorf("%s is internal = %v; want %v", tt.pkg, got, tt.want)