mirror of
https://github.com/fatedier/frp.git
synced 2026-03-20 00:39:15 +08:00
code optimization (#3625)
This commit is contained in:
@@ -51,15 +51,3 @@ func TestVersion(t *testing.T) {
|
||||
version := Full()
|
||||
assert.Equal(parseVerion, version)
|
||||
}
|
||||
|
||||
func TestCompact(t *testing.T) {
|
||||
assert := assert.New(t)
|
||||
ok, _ := Compat("0.9.0")
|
||||
assert.False(ok)
|
||||
|
||||
ok, _ = Compat("10.0.0")
|
||||
assert.True(ok)
|
||||
|
||||
ok, _ = Compat("0.10.0")
|
||||
assert.False(ok)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user