Commit fb3dcf0
committed
test fix: Fix TestRoutingMessageHandler get_next_channel_announcements()
introduced: 3e0aed2
The existing implementation of the TestRoutingMessageHandler test stub
had two bugs:
* Conditions where the range end point would be less than the range
start point resulting in pushed values when they weren't expected
* Test stub did not return TOTAL_UPDS total updates. Instead it
returned half of them due to the calculation of the range.1 parent 62820fe commit fb3dcf0
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
613 | 613 | | |
614 | 614 | | |
615 | 615 | | |
616 | | - | |
| 616 | + | |
617 | 617 | | |
618 | | - | |
619 | | - | |
620 | | - | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
| |||
0 commit comments