diff --git a/protocols/bgp/packet/large_community_test.go b/protocols/bgp/packet/large_community_test.go index 867fe27e073b3246ee806f5fd0f04fb1b28daccc..b8859ea88338120d48714051c2318a235dd9c83e 100644 --- a/protocols/bgp/packet/large_community_test.go +++ b/protocols/bgp/packet/large_community_test.go @@ -58,19 +58,19 @@ func TestParseLargeCommunityString(t *testing.T) { err: errors.New("malformed large community string (,2,3)"), }, { - name: "to big global administrator", + name: "too big global administrator", in: fmt.Sprintf("(%d,1,2)", math.MaxInt64), expected: LargeCommunity{}, err: &strconv.NumError{Func: "ParseUint", Num: fmt.Sprintf("%d", math.MaxInt64), Err: strconv.ErrRange}, }, { - name: "to big data part 1", + name: "too big data part 1", in: fmt.Sprintf("(1,%d,2)", math.MaxInt64), expected: LargeCommunity{1, 0, 0}, err: &strconv.NumError{Func: "ParseUint", Num: fmt.Sprintf("%d", math.MaxInt64), Err: strconv.ErrRange}, }, { - name: "to big data part 2", + name: "too big data part 2", in: fmt.Sprintf("(1,2,%d)", math.MaxInt64), expected: LargeCommunity{1, 2, 0}, err: &strconv.NumError{Func: "ParseUint", Num: fmt.Sprintf("%d", math.MaxInt64), Err: strconv.ErrRange},