9 Commits

Author SHA1 Message Date
Simon Schulte
3b2754b72f remove failure note on require-comments 2024-10-15 13:54:51 +02:00
Simon Schulte
044c46a89f
Update require.go.tmpl
Co-authored-by: Olivier Mengué <dolmen@cpan.org>
2024-06-13 15:40:29 +02:00
Simon Schulte
9326036bf5 Generate better comments for require package
The comments for the require package were just copied over
from the assert package when generating the functions.
This could lead to confusion because
1. The code-examples were showing examples using the
assert package instead of the require package
2. The function-documentation was not mentioning that
the functions were calling `t.FailNow()` which is some
critical information when using this package.
2024-06-13 06:52:14 +02:00
Chris Marchbanks
78018b09cd Helper is called before assert function in require.* functions 2019-02-14 17:34:13 -07:00
Nick Pollett
89226b8388 Compact template 2018-06-09 10:23:57 +01:00
Nick Pollett
6c9d18aaae Optimise template 2018-06-09 10:23:57 +01:00
Ernesto Jiménez
a726187e31 Fix vim-go integration and other editors
Use Go 1.9 t.Helper() to remove testify from the output of the tests and
stop using `\r` to try to overwrite the output.

This means in Go 1.7 and Go 1.8 testify will appear as failing the test.
2018-02-02 18:39:40 +00:00
Ernesto Jiménez
976c720a22 Format generated code 2016-09-25 23:06:09 +01:00
Ernesto Jiménez
efd1b850c1 First version of code generation 2015-11-05 23:08:36 +00:00