Skip to content

Assertions: fix crash on non-transit legs#135

Merged
leonardehrenfried merged 2 commits intoopentripplanner:mainfrom
danielhep:assertions-filter-by-isTransit
Mar 16, 2026
Merged

Assertions: fix crash on non-transit legs#135
leonardehrenfried merged 2 commits intoopentripplanner:mainfrom
danielhep:assertions-filter-by-isTransit

Conversation

@danielhep
Copy link
Copy Markdown
Contributor

Oversight on my part that this was causing assertions to fail when there were walk legs in the itinerary. Now they're filtered out, and a test was added to ensure this is correct

@leonardehrenfried leonardehrenfried changed the title fix crash from non-transit legs in tests Assertions: fix crash on non-transit legs Mar 16, 2026
@leonardehrenfried leonardehrenfried merged commit e931d83 into opentripplanner:main Mar 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants