mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-23 09:00:20 +08:00
12 lines
149 B
Go
12 lines
149 B
Go
|
package sysx
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/stretchr/testify/assert"
|
||
|
)
|
||
|
|
||
|
func TestHostname(t *testing.T) {
|
||
|
assert.True(t, len(Hostname()) > 0)
|
||
|
}
|