mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-19 03:06:45 +02:00
Move test goldens to testdata/ directory to be more idiomatic, and add assertion that they're all actively being used by the tests (#154)
* Move golden files to testdata dir
* Add assertion that requires that all goldens are used
* Add map init so the map is non-nil
* Add print to confirm that tests finished running
* Remove colon so that this doesn't match against gotestsum looking for the substring "panic:", which can happen depending on how stdout is buffer
* Revert "Remove colon so that this doesn't match against gotestsum looking for the substring "panic:", which can happen depending on how stdout is buffer"
This reverts commit b44e53a17b
.
This commit is contained in:
7
client/testdata/testDisplayTable-customColumns-multiLineCommand
vendored
Normal file
7
client/testdata/testDisplayTable-customColumns-multiLineCommand
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
Hostname Exit Code Command CWD
|
||||
localhost 2 while : /tmp/
|
||||
do
|
||||
ls /table/
|
||||
done
|
||||
localhost 3 table_cmd2 ~/foo/
|
||||
localhost 2 table_cmd1 /tmp/
|
Reference in New Issue
Block a user