Closed paul-english closed 8 years ago
Using a function for an assert means that any panic will show a line number for the crate rather than where it's used. By using a macro the panic is expanded in the test where it's used.
Great, thanks 👍
Using a function for an assert means that any panic will show a line number for the crate rather than where it's used. By using a macro the panic is expanded in the test where it's used.