Skip to content

Commit

Permalink
better test failure error for the dial self test
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Jan 29, 2018
1 parent 1fdf8e5 commit 29f464d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reuse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func TestDialSelf(t *testing.T) {
}
_, err = Dial("tcp4", l.Addr().String(), l.Addr().String())
if err != ErrDialSelf {
t.Fatal("should have gotten an error for dialing self")
t.Fatal("should have gotten ErrDialSelr for dialing self, got: ", err)
}
}

Expand Down

0 comments on commit 29f464d

Please sign in to comment.