elvish/pkg/buildinfo
Kurtis Rader 3643f252f3 Verify stdout and stderr in shell tests
While working on my next commit, to prevent I/O deadlocks, I experienced
some problems because I had a syntax error in the Elvish code to generate
the output. That wasn't immediately obvious because I had copied another
test that only tested the stdout of the shell and the syntax error was
written to stderr. This change modifies existing tests to verify both
stdout and stderr have the expected content.

Note that there are three interactive tests for which we still do not
verify the content of stderr. That's because stderr for those tests only
contains a shell prompt whose content changes each time the test is run.
TBD is modifying the interactive tests to have a predictable prompt.
2020-08-11 15:58:20 +01:00
..
buildinfo_test.go Verify stdout and stderr in shell tests 2020-08-11 15:58:20 +01:00
buildinfo.go pkg/prog: Move all Program implementations into own packages. 2020-04-25 00:12:18 +01:00
json_test.go pkg/prog: Move all Program implementations into own packages. 2020-04-25 00:12:18 +01:00
json.go pkg/prog: Move all Program implementations into own packages. 2020-04-25 00:12:18 +01:00