Skip to content

Commit

Permalink
Update openwrt-http_test.go for new versions (untested)
Browse files Browse the repository at this point in the history
With 17.x and 18.x way past end of life, this part of the code hasn't been doing anything for a few years now. This commit fixes that - but, since I can't actually test this, may break things in some manner also...

Signed-off-by: Thomas Winkler <[email protected]>
  • Loading branch information
tew42 authored and stgraber committed Oct 17, 2023
1 parent 04f5021 commit 9a1c831
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions sources/openwrt-http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,16 @@ func TestOpenWrtHTTP_getLatestServiceRelease(t *testing.T) {
want *regexp.Regexp
}{
{
"17.01",
regexp.MustCompile(`17\.01\.\d+`),
"21.02",
regexp.MustCompile(`21\.02\.\d+`),
},
{
"18.06",
regexp.MustCompile(`18\.06\.\d+`),
"22.03",
regexp.MustCompile(`22\.03\.\d+`),
},
{
"23.05",
regexp.MustCompile(`23\.05\.\d+`),
},
}

Expand Down

0 comments on commit 9a1c831

Please sign in to comment.