mirror of
https://github.com/usememos/memos.git
synced 2024-12-24 03:33:52 +03:00
13 lines
214 B
Go
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)
|
|
}
|