diff --git a/icmp/trace_test.go b/icmp/trace_test.go new file mode 100644 index 00000000..ad374210 --- /dev/null +++ b/icmp/trace_test.go @@ -0,0 +1,14 @@ +package icmp_test + +import ( + "testing" + + "github.com/mehrdadrad/mylg/icmp" +) + +func TestNewTrace(t *testing.T) { + _, err := icmp.NewTrace("google.com -n -nr -m 30") + if err != nil { + t.Error("unexpected error. expected %v, actual %v", nil, err) + } +}