From 4afa10ca04c4f761e09876d27cb0a355eeadefba Mon Sep 17 00:00:00 2001
From: Maximilian Wilhelm <max@sdn.clinic>
Date: Wed, 4 Jul 2018 23:56:39 +0200
Subject: [PATCH] Make sure only the test currently running fails.

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
---
 protocols/bgp/packet/path_attributes_test.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/protocols/bgp/packet/path_attributes_test.go b/protocols/bgp/packet/path_attributes_test.go
index 040cdfbf..dd4b31e8 100644
--- a/protocols/bgp/packet/path_attributes_test.go
+++ b/protocols/bgp/packet/path_attributes_test.go
@@ -1573,7 +1573,7 @@ func TestSerializeLargeCommunities(t *testing.T) {
 	}
 
 	for _, test := range tests {
-		t.Run(test.name, func(te *testing.T) {
+		t.Run(test.name, func(t *testing.T) {
 			buf := bytes.NewBuffer([]byte{})
 			n := test.input.serializeLargeCommunities(buf)
 			if n != test.expectedLen {
@@ -1620,7 +1620,7 @@ func TestSerializeCommunities(t *testing.T) {
 	}
 
 	for _, test := range tests {
-		t.Run(test.name, func(te *testing.T) {
+		t.Run(test.name, func(t *testing.T) {
 			buf := bytes.NewBuffer([]byte{})
 			n := test.input.serializeCommunities(buf)
 			if n != test.expectedLen {
@@ -1656,7 +1656,7 @@ func TestSerializeOriginatorID(t *testing.T) {
 	}
 
 	for _, test := range tests {
-		t.Run(test.name, func(te *testing.T) {
+		t.Run(test.name, func(t *testing.T) {
 			buf := bytes.NewBuffer(nil)
 			n := test.input.serializeOriginatorID(buf)
 			if n != test.expectedLen {
@@ -1720,7 +1720,7 @@ func TestSerializeClusterList(t *testing.T) {
 	}
 
 	for _, test := range tests {
-		t.Run(test.name, func(te *testing.T) {
+		t.Run(test.name, func(t *testing.T) {
 			buf := bytes.NewBuffer([]byte{})
 			n := test.input.serializeClusterList(buf)
 			if n != test.expectedLen {
-- 
GitLab