Closed nkakouros closed 2 years ago
It is easier to match the last line of the output with:
assert_line -n -1 'text'
than:
assert_line -n 13 'text'
The preceding text may also change and a standard count from the top may not be possible.
Thanks for your PR.
It is easier to match the last line of the output with:
than:
The preceding text may also change and a standard count from the top may not be possible.