Lines Matching refs:g
369 if g, w := enabledVariants(ctx, "foo"), tt.fooVariants; !reflect.DeepEqual(w, g) {
370 t.Errorf("want foo variants:\n%q\ngot:\n%q\n", w, g)
373 if g, w := enabledVariants(ctx, "bar"), tt.barVariants; !reflect.DeepEqual(w, g) {
374 t.Errorf("want bar variants:\n%q\ngot:\n%q\n", w, g)
377 if g, w := enabledVariants(ctx, "baz"), tt.bazVariants; !reflect.DeepEqual(w, g) {
378 t.Errorf("want baz variants:\n%q\ngot:\n%q\n", w, g)
381 if g, w := enabledVariants(ctx, "qux"), tt.quxVariants; !reflect.DeepEqual(w, g) {
382 t.Errorf("want qux variants:\n%q\ngot:\n%q\n", w, g)
462 if g, w := enabledVariants(ctx, "foo"), tt.fooVariants; !reflect.DeepEqual(w, g) {
463 t.Errorf("want foo variants:\n%q\ngot:\n%q\n", w, g)
466 if g, w := enabledVariants(ctx, "bar"), tt.barVariants; !reflect.DeepEqual(w, g) {
467 t.Errorf("want bar variants:\n%q\ngot:\n%q\n", w, g)
470 if g, w := enabledVariants(ctx, "baz"), tt.bazVariants; !reflect.DeepEqual(w, g) {
471 t.Errorf("want qux variants:\n%q\ngot:\n%q\n", w, g)