From c4247a77d9d645f3c122cf79038a0b0a6feedc3e Mon Sep 17 00:00:00 2001 From: Mehrdad Arshad Rad Date: Wed, 17 Aug 2016 21:57:12 -0700 Subject: [PATCH] init trace test --- icmp/trace_test.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 icmp/trace_test.go 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) + } +}