diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-10-02 10:51:07 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-02 10:51:07 -0400 |
| commit | 75d07b8b836a33c575d2470e15133b94639411b9 (patch) | |
| tree | 6667c15af1a4491659ac17c46a0b078a83d83d90 /tests/isisd/test_isis_vertex_queue.c | |
| parent | 51dcd4c3760154739d359971c39f0746f2c536f1 (diff) | |
| parent | 60d3914270ff0ad3de8c6c08cec8ca60f18cf84a (diff) | |
Merge pull request #1276 from opensourcerouting/isis-fix-vertex-queue
isisd: fix vertex queue comparator
Diffstat (limited to 'tests/isisd/test_isis_vertex_queue.c')
| -rw-r--r-- | tests/isisd/test_isis_vertex_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/isisd/test_isis_vertex_queue.c b/tests/isisd/test_isis_vertex_queue.c index 50436387b5..674482cd17 100644 --- a/tests/isisd/test_isis_vertex_queue.c +++ b/tests/isisd/test_isis_vertex_queue.c @@ -89,7 +89,7 @@ static void test_ordered(void) assert(isis_vertex_queue_pop(&q) == vertices[1]); assert(isis_find_vertex(&q, vertices[1]->N.id, vertices[1]->type) == NULL); - assert(isis_vertex_queue_pop(&q) == vertices[4]); + isis_vertex_queue_delete(&q, vertices[4]); assert(isis_find_vertex(&q, vertices[4]->N.id, vertices[4]->type) == NULL); assert(isis_vertex_queue_count(&q) == 0); |
