mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-17 02:50:49 +01:00
Update a test to include a comment to confirm that the comment gets properly recorded
This commit is contained in:
parent
cfd1c9e7a7
commit
99ec7d64ce
@ -436,7 +436,7 @@ echo thisisrecorded`)
|
||||
}
|
||||
|
||||
// Add a complex command
|
||||
complexCommand := "echo hello | grep complex | sed s/h/i/g; echo baz && echo \"fo 'o\""
|
||||
complexCommand := "echo hello | grep complex | sed s/h/i/g; echo baz && echo \"fo 'o\" # mycommand"
|
||||
_, _ = tester.RunInteractiveShellRelaxed(t, complexCommand)
|
||||
|
||||
// Query for it
|
||||
|
Loading…
Reference in New Issue
Block a user