automerge / automerge-repo-rs

MIT License
39 stars 6 forks source link

Clean up tests a little #59

Closed alexjg closed 1 year ago

alexjg commented 1 year ago

I'm working on updating this codebase to be interoperable with the 1.0 of the JS implementation. As I do this I need to write a bunch more tests. I felt that the existing tests were a little verbose (as is often the case with the first version of a test suite where you're focusing on getting the tests written at all) and so before I wrote more tests I thought I would take the time to refactor things a little bit.

There are a few main changes:

alexjg commented 1 year ago

If you're looking to review the test changes specifically I would recommend reading 22acec2. I did the rename in a separate commit so this commit actually has a useful diff - unlike the diff view of the whole PR which presents the test files as just deleted and reinserted.

gterzian commented 1 year ago

Thanks! Will review today.

alexjg commented 1 year ago

Thanks for the detailed review. I think I've addressed or replied to everything.