nps/core/rule/list_test.go
2022-01-23 17:30:38 +08:00

14 lines
226 B
Go

package rule
import (
"ehang.io/nps/core/process"
"testing"
)
func TestGetFields(t *testing.T) {
h := process.HttpsServeProcess{HttpServeProcess: process.HttpServeProcess{}}
if len(getFieldName(h)) < 3 {
t.Fail()
}
}