Skip to content

Commit 473bba4

Browse files
committed
renamed test variable
1 parent d5192ce commit 473bba4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release Notes
22

3-
## Version 1.31.1 - 2023-07-19
3+
## Version 1.31.1 - 2023-07-20
44

55
* cni: Fix regression in auto selection [#16912](https://github.com/kubernetes/minikube/pull/16912)
66

cmd/minikube/cmd/start_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ func TestImageMatchesBinaryVersion(t *testing.T) {
845845
tests := []struct {
846846
imageVersion string
847847
binaryVersion string
848-
want bool
848+
versionMatch bool
849849
}{
850850
{"v1.17.0", "v1.17.0", true},
851851
{"v1.17.0", "v1.20.0", false},
@@ -855,8 +855,8 @@ func TestImageMatchesBinaryVersion(t *testing.T) {
855855

856856
for _, tc := range tests {
857857
got := imageMatchesBinaryVersion(tc.imageVersion, tc.binaryVersion)
858-
if got != tc.want {
859-
t.Errorf("imageMatchesBinaryVersion(%s, %s) = %t; want = %t", tc.imageVersion, tc.binaryVersion, got, tc.want)
858+
if got != tc.versionMatch {
859+
t.Errorf("imageMatchesBinaryVersion(%s, %s) = %t; want = %t", tc.imageVersion, tc.binaryVersion, got, tc.versionMatch)
860860
}
861861
}
862862
}

0 commit comments

Comments
 (0)