summaryrefslogtreecommitdiffhomepage
path: root/table/path_test.go
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-10-12 11:39:21 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-11-01 21:56:21 +0900
commit8f640c1546db5f69ca10ac239cbc95b987b8296d (patch)
tree0f0a5039489684d73bdd9c290cd8667045226a53 /table/path_test.go
parentd8a897a0dd04a0d641ea10622180938c76f8e924 (diff)
table/path_test: Remove debug print
This patch removes debug print statements for improving the result of the spell checker. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'table/path_test.go')
-rw-r--r--table/path_test.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/table/path_test.go b/table/path_test.go
index ea4e23d5..f2b77bc5 100644
--- a/table/path_test.go
+++ b/table/path_test.go
@@ -2,7 +2,6 @@
package table
import (
- "fmt"
"testing"
"time"
@@ -119,7 +118,6 @@ func TestPathPrependAsnToExistingSeqAttr(t *testing.T) {
p.PrependAsn(65000, 1)
assert.Equal([]uint32{65000, 65001, 65002, 65003, 65004, 65005, 0, 0, 0}, p.GetAsSeqList())
- fmt.Printf("asns: %v", p.GetAsSeqList())
}
func TestPathPrependAsnToNewAsPathAttr(t *testing.T) {
@@ -170,7 +168,6 @@ func TestPathPrependAsnToNewAsPathSeq(t *testing.T) {
asn := uint32(65000)
p.PrependAsn(asn, 1)
assert.Equal([]uint32{asn, 0, 0, 0}, p.GetAsSeqList())
- fmt.Printf("asns: %v", p.GetAsSeqList())
}
func TestPathPrependAsnToEmptyAsPathAttr(t *testing.T) {
@@ -200,7 +197,6 @@ func TestPathPrependAsnToEmptyAsPathAttr(t *testing.T) {
asn := uint32(65000)
p.PrependAsn(asn, 1)
assert.Equal([]uint32{asn, 0, 0, 0}, p.GetAsSeqList())
- fmt.Printf("asns: %v", p.GetAsSeqList())
}
func TestPathPrependAsnToFullPathAttr(t *testing.T) {
@@ -239,7 +235,6 @@ func TestPathPrependAsnToFullPathAttr(t *testing.T) {
}
p.PrependAsn(65000, 2)
assert.Equal(append(expected, []uint32{0, 0, 0}...), p.GetAsSeqList())
- fmt.Printf("asns: %v", p.GetAsSeqList())
}
func TestGetPathAttrs(t *testing.T) {