mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-27 23:42:14 +02: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
|
// 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)
|
_, _ = tester.RunInteractiveShellRelaxed(t, complexCommand)
|
||||||
|
|
||||||
// Query for it
|
// Query for it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user