mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-19 03:06:45 +02:00
Fix compile failure in tests
This commit is contained in:
@@ -2280,7 +2280,7 @@ func testMultipleUsers(t *testing.T, tester shellTester) {
|
||||
_, _ = tester.RunInteractiveShellRelaxed(t, `echo u2d3-c`)
|
||||
|
||||
// Check that the right commands were recorded for user2
|
||||
for i, d := range []device{u2d1, u2d2, u2d3} {
|
||||
for _, d := range []device{u2d1, u2d2, u2d3} {
|
||||
switchToDevice(&devices, d)
|
||||
out, err := tester.RunInteractiveShellRelaxed(t, `hishtory export -export -pipefail`)
|
||||
testutils.Check(t, err)
|
||||
|
Reference in New Issue
Block a user