Skip to content

Commit

Permalink
fix updateVersion test cases
Browse files Browse the repository at this point in the history
Signed-off-by: House <[email protected]>
  • Loading branch information
dr-housemd committed Jun 2, 2024
1 parent db96440 commit 1ebad04
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkg/update/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func TestGetLatestPatchVersion(t *testing.T) {
},
},
version: "1.2.0",
want: "v1.2.3",
want: "1.2.3",
},
{
name: "Test Case 2",
Expand All @@ -35,7 +35,7 @@ func TestGetLatestPatchVersion(t *testing.T) {
},
},
version: "1.3.0",
want: "v1.3.3",
want: "1.3.3",
},
{
name: "Test Case 3",
Expand All @@ -54,7 +54,7 @@ func TestGetLatestPatchVersion(t *testing.T) {
},
},
version: "1.4.0",
want: "v1.4.0",
want: "1.4.0",
},

{
Expand All @@ -67,7 +67,7 @@ func TestGetLatestPatchVersion(t *testing.T) {
},
},
version: "1.3.3",
want: "v1.3.3",
want: "1.3.3",
},
}

Expand Down Expand Up @@ -97,7 +97,7 @@ func TestGetLatestMinorVersion(t *testing.T) {
},
},
version: "1.2.0",
want: "v1.4.3",
want: "1.4.3",
},
{
name: "Test Case 2",
Expand All @@ -111,7 +111,7 @@ func TestGetLatestMinorVersion(t *testing.T) {
},
},
version: "1.3.0",
want: "v1.4.1",
want: "1.4.1",
},
}

Expand Down

0 comments on commit 1ebad04

Please sign in to comment.