fixed test error message

pull/12930/head
Steven Powell 2021-12-10 11:54:16 -08:00
parent 7b3377e95b
commit 874a1d965a
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ func validateMount(ctx context.Context, t *testing.T, profile string) {
for _, flag := range flags {
want := fmt.Sprintf("%s=%s", flag.key, flag.expected)
if !strings.Contains(rr.Output(), want) {
t.Errorf("wanted gid to be: %q; got: %q", want, rr.Output())
t.Errorf("wanted %s to be: %q; got: %q", flag.key, want, rr.Output())
}
}
}