mirror of
https://github.com/usememos/memos.git
synced 2024-12-27 15:42:51 +08:00
12 lines
214 B
Go
12 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)
|
|
}
|