From c3e245ca6b2261d399a17503ec8885594fc12843 Mon Sep 17 00:00:00 2001 From: Christoph Petrausch <christoph.petrausch@inovex.de> Date: Tue, 19 Jun 2018 19:54:10 +0200 Subject: [PATCH] Fixed typos --- protocols/bgp/packet/large_community_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/protocols/bgp/packet/large_community_test.go b/protocols/bgp/packet/large_community_test.go index 867fe27e..b8859ea8 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}, -- GitLab