Initial Navis client with NaiveProxy, profiles, ping and git updates

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Navis
2026-07-28 06:55:19 +03:00
co-authored by Cursor
commit 595bc3d70d
40 changed files with 3412 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
package update
import "testing"
func TestCompare(t *testing.T) {
if Compare("1.1.0", "1.0.0") <= 0 {
t.Fatal("expected newer")
}
if Compare("1.0.0", "1.1.0") >= 0 {
t.Fatal("expected older")
}
if Compare("1.1.0", "1.1.0") != 0 {
t.Fatal("expected equal")
}
}