summaryrefslogtreecommitdiffhomepage
path: root/packet
diff options
context:
space:
mode:
authorNaoto Hanaue <hanaue.naoto@po.ntts.co.jp>2015-04-22 15:08:01 +0900
committerNaoto Hanaue <hanaue.naoto@po.ntts.co.jp>2015-04-22 15:08:01 +0900
commit33b4422cc724e5c866bd741597490bd2ff5f6789 (patch)
treeaf45aa847107598eb9c89c41ec8f2bf3f1bdc49c /packet
parent897ad184ae319837e00318b7902c7c96db6a17ff (diff)
unit_test: fix associated with the testify update
Diffstat (limited to 'packet')
-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) {