Skip to content

Commit

Permalink
init trace test
Browse files Browse the repository at this point in the history
  • Loading branch information
mehrdadrad committed Aug 18, 2016
1 parent e157171 commit c4247a7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions icmp/trace_test.go
Original file line number Diff line number Diff line change
@@ -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)
}
}

0 comments on commit c4247a7

Please sign in to comment.