1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-25 15:29:19 +00:00
forgejo/modules/updatechecker/update_checker_test.go

17 lines
322 B
Go
Raw Normal View History

// Copyright 2023 The Forgejo Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package updatechecker
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestDNSUpdate(t *testing.T) {
version, err := getVersionDNS("release.forgejo.org")
assert.NoError(t, err)
assert.NotEmpty(t, version)
}