summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey Elantsev <elantsev.s@yandex.ru>2020-12-20 18:27:54 +0300
committerSergey Elantsev <elantsev.s@yandex.ru>2020-12-20 18:27:54 +0300
commit839495d33041fa732be14ae7553cece6a3d3ee04 (patch)
tree34dc7e52e2c761d33aa94507db128033965e2a6a
parent0558066261625d0f4e7d5c118a0efd4238d24715 (diff)
fixed mistype
-rw-r--r--pkg/packet/bgp/bgp_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/packet/bgp/bgp_test.go b/pkg/packet/bgp/bgp_test.go
index 112a9b4f..ad313247 100644
--- a/pkg/packet/bgp/bgp_test.go
+++ b/pkg/packet/bgp/bgp_test.go
@@ -1254,7 +1254,7 @@ func TestParseMessageWithBadLength(t *testing.T) {
}
}
default:
- t.Fatalf("got unwxpected error type %T: %v", err, err)
+ t.Fatalf("got unexpected error type %T: %v", err, err)
}
})