BenMorris / NetArchTest

A fluent API for .Net that can enforce architectural rules in unit tests.
MIT License
1.39k stars 82 forks source link

Refactoring: Nesting #109

Closed flookey closed 1 year ago

flookey commented 1 year ago

Some refactorings in the FunctionDelegates.cs and TestResults.cs. Same logic, just shortened. Mainly removing unnecessary nesting.

All Unit Tests executed successfully.

There is a bunch of other stuff that can be refactored. If refactoring is desired in general, I could do that and break it down into multiple PRs.

BenMorris commented 1 year ago

Thanks for this - refactoring is always welcome and smaller commits even more so. They are so much easier to review!