Skip to content

Commit 758ce76

Browse files
committed
test: fix GetHostname() test for unknown
1 parent 6e3c728 commit 758ce76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/ioutils/host_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func Test_GetHostname(t *testing.T) {
2626
assert.NotEmpty(t, hostname)
2727
// The hostname should be hashed, not the raw hostname
2828
// It should not be "unknown" on a normal system
29-
assert.NotEqual(t, "", hostname)
29+
assert.NotEqual(t, "unknown", hostname)
3030
})
3131

3232
t.Run("returns consistent results", func(t *testing.T) {

0 commit comments

Comments
 (0)