mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-30 05:46:09 +01:00
17 lines
322 B
Go
17 lines
322 B
Go
|
// 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)
|
||
|
}
|