Skip to content

Commit

Permalink
add test for all supported in capvar
Browse files Browse the repository at this point in the history
Signed-off-by: Kristoffer Dalby <[email protected]>
  • Loading branch information
kradalby committed Feb 5, 2025
1 parent 9b5e6c5 commit 083d7ad
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions hscontrol/capver/capver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,19 @@ func TestTailscaleLatestMajorMinor(t *testing.T) {
}{
{3, false, []string{"v1.76", "v1.78", "v1.80"}},
{2, true, []string{"1.78", "1.80"}},
// Lazy way to see all supported versions
{10, true, []string{
"1.62",
"1.64",
"1.66",
"1.68",
"1.70",
"1.72",
"1.74",
"1.76",
"1.78",
"1.80",
}},
{0, false, nil},
}

Expand Down

0 comments on commit 083d7ad

Please sign in to comment.