mirror of
https://github.com/ehang-io/nps.git
synced 2025-07-02 04:00:42 +00:00
14 lines
226 B
Go
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()
|
|
}
|
|
}
|