mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-26 13:11:53 +08:00
refactor: mylib 重命名为 libs
更清晰的目录命名,libs/ 存放内嵌的独立协议实现库。
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user