Brings in 0.4.8: connection log, uninstall and update from the awg-ctrl menu, secret panel path, stealth hub and sen:// port, random I1/MTU on install. install.sh keeps the new output (spinner, cards, outdated-install wipe) on top of the reorganised installer; an outdated install can be reinstalled with a wipe or removed. The connection log tab uses the MD3 segmented button; its metrics-token scrape snippet moved to Settings.
This commit is contained in:
@@ -79,7 +79,7 @@ func TestCmpVersion(t *testing.T) {
|
||||
for _, c := range []struct {
|
||||
a, b string
|
||||
sign int
|
||||
}{{"0.5.0", "0.5.0", 0}, {"0.4.9", "0.5.0", -1}, {"0.10.0", "0.9.9", 1}, {"0.5", "0.5.0", 0}, {"0.5.1-beta", "0.5.1", 0}} {
|
||||
}{{"0.5.0", "0.5.0", 0}, {"0.4.9", "0.5.0", -1}, {"0.10.0", "0.9.9", 1}, {"0.5", "0.5.0", 0}, {"0.5.1-beta", "0.5.1", 0}, {"Beta 0.4.7", "0.5.0", -1}} {
|
||||
got := cmpVersion(c.a, c.b)
|
||||
if (got > 0) != (c.sign > 0) || (got < 0) != (c.sign < 0) {
|
||||
t.Errorf("cmpVersion(%q, %q) = %d", c.a, c.b, got)
|
||||
|
||||
Reference in New Issue
Block a user