added check
This commit is contained in:
parent
ca3fe5d6a7
commit
ad8a55815c
@ -114,6 +114,10 @@ func TestExpandBgpCommunities(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
expected := 2 * 3 * 2
|
||||
if len(exp) != expected {
|
||||
t.Errorf("Expected %d results, got %d", expected, len(exp))
|
||||
}
|
||||
t.Log(exp)
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user