Lines Matching refs:want
28 want string
33 want: "board",
38 want: "BOARD",
43 want: "BOARD123",
48 want: "TARGET_BOARD",
53 want: "TARGET_BOARD",
58 want: "board_",
63 if got := CanonicalizeToProperty(tt.arg); got != tt.want {
64 t.Errorf("canonicalizeToProperty() = %v, want %v", got, tt.want)
75 want string
83 want: "string",
91 want: "[]string",
99 want: "",
109 want: "string",
119 want: "",
127 want: "",
137 want: "string",
149 want: "string",
161 want: "string",
173 want: "string",
183 if got != tt.want {
184 t.Errorf("typeForPropertyFromPropertyStruct() = %v, want %v", got, tt.want)
195 want string
203 want: "*struct { Cflags string }",
211 want: "*struct { Cflags []string }",
219 want: "*struct { Cflags *string }",
228 want: "*struct { Cflags string }",
236 want: "",
248 want: "*struct { Multilib struct { Lib32 struct { Cflags string } } }",
274 …want: "*struct { Cflags string; Multilib struct { Lib32 struct { Cflags string; Ldflags string }; …
284 if !reflect.DeepEqual(got, tt.want) {
285 t.Errorf("createAffectablePropertiesType() = %v, want %v", got, tt.want)