Skip to content

Commit

Permalink
Update version_test.go (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
6543 authored Jul 17, 2024
1 parent d60f96e commit bfd1dd2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,8 @@ func TestVersionSegments(t *testing.T) {
version string
expected []int
}{
{"1", []int{1, 0, 0}},
{"1.2", []int{1, 2, 0}},
{"1.2.3", []int{1, 2, 3}},
{"1.2-beta", []int{1, 2, 0}},
{"1-x.Y.0", []int{1, 0, 0}},
Expand Down

0 comments on commit bfd1dd2

Please sign in to comment.