diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2021-08-06 14:56:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-06 14:56:44 +0000 |
commit | 04ab2b16617fe2d3178eb0b461aacbcab609611e (patch) | |
tree | 265152f98e32add21cf2f44f0e152f0037c322ad | |
parent | 9853b147199b270271f2fa68fdef68bc4027ed33 (diff) | |
parent | c9e2f2f60b2e3293fe04a06742d411d319d0b93d (diff) | |
download | podman-04ab2b16617fe2d3178eb0b461aacbcab609611e.tar.gz podman-04ab2b16617fe2d3178eb0b461aacbcab609611e.tar.bz2 podman-04ab2b16617fe2d3178eb0b461aacbcab609611e.zip |
Merge pull request #11137 from edsantiago/helpfulerer
[CI:DOCS] tests-expect-exit: include source line numbers
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -607,7 +607,7 @@ tests-included: .PHONY: tests-expect-exit tests-expect-exit: - @if egrep 'Expect.*ExitCode' test/e2e/*.go | egrep -v ', ".*"\)'; then \ + @if egrep --line-number 'Expect.*ExitCode' test/e2e/*.go | egrep -v ', ".*"\)'; then \ echo "^^^ Unhelpful use of Expect(ExitCode())"; \ echo " Please use '.Should(Exit(...))' pattern instead."; \ echo " If that's not possible, please add an annotation (description) to your assertion:"; \ |