You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor parse_commands to add tests.
This PR address servo#143. This is a first step in making Homu testable.
A small refactor has been done, extracting the logic in `parse_commands` to its own functions, to be able to mock the state and add tests.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/homu/149)
<!-- Reviewable:end -->
If a comment with r+ has been edited then homu will emit
Instead, homu should check that the edit didn’t change the r-state and do nothing if so.
The text was updated successfully, but these errors were encountered: