nf/nft/nfctl/version/version_test.go

17 lines
259 B
Go
Raw Normal View History

2024-07-14 17:26:48 +08:00
package version
import (
"github.com/loveuer/nf/nft/log"
"testing"
)
func TestUpgradePrint(t *testing.T) {
UpgradePrint("v24.07.14-r5")
}
func TestCheck(t *testing.T) {
log.SetLogLevel(log.LogLevelDebug)
v := Check(15)
t.Logf("got version: %s", v)
}