Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make test suite for assert_no_guard more robust (#7801)
If I got it right, one of the reasons for that change was to get the message: > invalid expression in guard, **!** is not allowed in guards. To learn more about guards, visit: https://hexdocs.pm/elixir/guards.html instead of: > invalid expression in guard, **case** is not allowed in guards. To learn more about guards, visit: https://hexdocs.pm/elixir/guards.html This change should make the test suite more robust for future changes or refactors :) In addition, I've split a couple of strings that were exceeding the maximum line length (98). By the way, should the formatter warn when it cannot keep the code under the desired line length? maybe with a `--strict` flag?
- Loading branch information
Showing with 7 additions and 5 deletions.