Please sign in to comment.
Refactor test to not care about the specific result of valid?
Only care about its truthiness rather than asserting specific true/false values. If we need to check for the return value in particular, there will be a test for that.
- Loading branch information...
Showing with 4 additions and 3 deletions.