mirror of https://github.com/usememos/memos
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
209 B
Go
13 lines
209 B
Go
2 years ago
|
package versionchecker
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/stretchr/testify/require"
|
||
|
)
|
||
|
|
||
|
func TestGetLatestVersion(t *testing.T) {
|
||
|
_, err := NewVersionChecker(nil).GetLatestVersion()
|
||
|
require.NoError(t, err)
|
||
|
}
|