proposal: [Go2] Error default handler for tests. #32361
Labels
error-handling
Language & library change proposals that are about error handling.
FrozenDueToAge
Proposal
Milestone
Hi,
Error handling in tests could be done with
handle err
as shown in this example.But maybe go can use implicit default handler for a test so that every test function will have implicit error handler:
Motivation is to remove repetition of the same pattern the same as with implicit default handler for functions and methods.
The text was updated successfully, but these errors were encountered: