memos/server/service/version_checker/version_checker_test.go

13 lines
214 B
Go
Raw Normal View History

2023-11-06 20:49:02 +08:00
package versionchecker
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestGetLatestVersion(t *testing.T) {
2023-11-06 22:33:12 +08:00
_, err := NewVersionChecker(nil, nil).GetLatestVersion()
2023-11-06 20:49:02 +08:00
require.NoError(t, err)
}