memos/server/service/version_checker/version_checker_test.go
2023-11-06 22:33:12 +08:00

13 lines
214 B
Go

package versionchecker
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestGetLatestVersion(t *testing.T) {
_, err := NewVersionChecker(nil, nil).GetLatestVersion()
require.NoError(t, err)
}