mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-22 03:10:42 +08:00
14 lines
277 B
Go
14 lines
277 B
Go
package gcc
|
|
|
|
import (
|
|
"bytes"
|
|
"testing"
|
|
)
|
|
|
|
func TestClientCoreDataDoesNotExposeClientName(t *testing.T) {
|
|
data := NewClientCoreData()
|
|
if !bytes.Equal(data.ClientName[:], make([]byte, len(data.ClientName))) {
|
|
t.Fatalf("client name is not empty: %x", data.ClientName)
|
|
}
|
|
}
|