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