tests: support getting `diag_' message from stdin

* t/ax/tap-functions.sh (diag_): Read the diagnostic message from
stdin if no arguments are given.
1 file changed