summaryrefslogtreecommitdiffhomepage
path: root/packet/validate_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'packet/validate_test.go')
-rw-r--r--packet/validate_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/packet/validate_test.go b/packet/validate_test.go
index 46ee3798..d7a22465 100644
--- a/packet/validate_test.go
+++ b/packet/validate_test.go
@@ -171,7 +171,7 @@ func Test_Validate_mandatory_missing(t *testing.T) {
assert.Equal(uint8(BGP_ERROR_UPDATE_MESSAGE_ERROR), e.TypeCode)
assert.Equal(uint8(BGP_ERROR_SUB_MISSING_WELL_KNOWN_ATTRIBUTE), e.SubTypeCode)
missing, _ := binary.Uvarint(e.Data)
- assert.Equal(uint8(1), missing)
+ assert.Equal(uint64(1), missing)
}
func Test_Validate_mandatory_missing_nocheck(t *testing.T) {