added check

This commit is contained in:
Annika Hannig 2023-11-23 14:40:21 +01:00
parent ca3fe5d6a7
commit ad8a55815c
No known key found for this signature in database
GPG Key ID: 62E226E47DDCE58D

View File

@ -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)
}