mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-03 00:45:47 +02:00
* 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 b44e53a17bb1592e620e77e39b7dab93e8edafcf.
24 lines
404 B
Plaintext
24 lines
404 B
Plaintext
hishtory status
|
|
hishtory query
|
|
ls /a
|
|
ls /bar
|
|
ls /foo
|
|
echo foo
|
|
echo bar
|
|
hishtory disable
|
|
hishtory enable
|
|
echo thisisrecorded
|
|
hishtory query
|
|
hishtory query foo
|
|
echo hello | grep complex | sed s/h/i/g; echo baz && echo "fo 'o" # mycommand
|
|
hishtory query complex
|
|
hishtory query
|
|
echo mynewcommand
|
|
hishtory query
|
|
hishtory query
|
|
echo mynewercommand
|
|
hishtory query
|
|
othercomputer
|
|
hishtory query
|
|
hishtory reupload
|