Bryan Boreham e734bda58c Avoid calling Helper() on the happy path.
Helper() in the standard Go runtime fetches a stack trace from the
runtime, so is slow for calls that are made many times.

Helper() only makes a difference if the call throws an error, so move
it after the test in straightforward cases.
2020-05-04 21:01:24 +10:00
..
2014-06-18 09:28:16 -06:00
2020-05-04 07:47:34 +10:00
2020-05-04 07:47:34 +10:00