diff --git a/protocols/bgp/packet/path_attributes_test.go b/protocols/bgp/packet/path_attributes_test.go
index c0da61a3e1c38ee310f1eb738ff75bd095a5e3a2..1527f8cf6e7d3d3ff9365068272aa3fad52e41d0 100644
--- a/protocols/bgp/packet/path_attributes_test.go
+++ b/protocols/bgp/packet/path_attributes_test.go
@@ -783,7 +783,7 @@ func TestSetLength(t *testing.T) {
 	}
 }
 
-func TestRead4BytesAsUint32(t *testing.T) {
+func TestDecodeUint32(t *testing.T) {
 	tests := []struct {
 		name           string
 		input          []byte