Skip to content

Commit f8028bc

Browse files
committed
added const
1 parent 874a1d9 commit f8028bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/mount_start_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func validateMount(ctx context.Context, t *testing.T, profile string) {
115115
t.Fatalf("failed to get directory mode: %v", err)
116116
}
117117

118-
want := "777"
118+
const want = "777"
119119
if !strings.Contains(rr.Output(), want) {
120120
t.Errorf("wanted mode to be %q; got: %q", want, rr.Output())
121121
}

0 commit comments

Comments
 (0)