diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-06-19 02:22:29 +0900 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-06-20 13:28:40 +0900 |
commit | caeea100653522090d36ece22e80a945d59742fd (patch) | |
tree | 99f5cc90864f3bbf496cbb6e78686b803775a907 /packet/bgp_test.go | |
parent | 056218150a2e9e3e3271e375ba26fa27f6cb4d19 (diff) |
packet: gofmt
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'packet/bgp_test.go')
-rw-r--r-- | packet/bgp_test.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/packet/bgp_test.go b/packet/bgp_test.go index 8afa7363..ba969419 100644 --- a/packet/bgp_test.go +++ b/packet/bgp_test.go @@ -329,7 +329,7 @@ func Test_ASLen(t *testing.T) { aspath := AsPathParam{ Num: 2, - AS: []uint16{65000, 65001}, + AS: []uint16{65000, 65001}, } aspath.Type = BGP_ASPATH_ATTR_TYPE_SEQ assert.Equal(2, aspath.ASLen()) @@ -343,10 +343,9 @@ func Test_ASLen(t *testing.T) { aspath.Type = BGP_ASPATH_ATTR_TYPE_CONFED_SET assert.Equal(0, aspath.ASLen()) - as4path := As4PathParam{ Num: 2, - AS: []uint32{65000, 65001}, + AS: []uint32{65000, 65001}, } as4path.Type = BGP_ASPATH_ATTR_TYPE_SEQ assert.Equal(2, as4path.ASLen()) @@ -361,4 +360,3 @@ func Test_ASLen(t *testing.T) { assert.Equal(0, as4path.ASLen()) } - |