Run the TestRemoteDuplicateRows test with zsh rather than bash

This commit is contained in:
David Dworken 2022-11-03 21:16:53 -07:00
parent c1d17842c4
commit 2d7d74c066
No known key found for this signature in database
5 changed files with 4 additions and 6 deletions

View File

@ -2071,7 +2071,7 @@ echo bar`)
func TestRemoveDuplicateRows(t *testing.T) {
// Setup
tester := bashTester{}
tester := zshTester{}
defer testutils.BackupAndRestore(t)()
installHishtory(t, tester, "")

View File

@ -4,5 +4,4 @@ echo baz
echo baz
echo foo
hishtory config-set displayed-columns 'Exit Code' Command
source /Users/david/.bashrc
hishtory config-set filter-duplicate-commands true

View File

@ -1,6 +1,5 @@
Exit Code Command
0 hishtory config-set filter-duplicate-commands true
0 source /Users/david/.bashrc
0 hishtory config-set displayed-columns 'Exit Code' Command
0 echo foo
0 echo baz

View File

@ -7,9 +7,7 @@ Search Query: > -pipefail
┌───────────────────────────────────────────────────────────────────────────┐
│ Exit Code Command │
│───────────────────────────────────────────────────────────────────────────│
│ 0 source /Users/david/.bashrc │
│ 0 hishtory config-set filter-duplicate-commands true │
│ 0 source /Users/david/.bashrc │
│ 0 hishtory config-set displayed-columns 'Exit Code' Command │
│ 0 echo foo │
│ 0 echo baz │
@ -27,4 +25,6 @@ Search Query: > -pipefail
│ │
│ │
│ │
│ │
│ │
└───────────────────────────────────────────────────────────────────────────┘

View File

@ -7,7 +7,6 @@ Search Query: > -pipefail
┌───────────────────────────────────────────────────────────────────────────┐
│ Exit Code Command │
│───────────────────────────────────────────────────────────────────────────│
│ 0 source /Users/david/.bashrc │
│ 0 hishtory config-set displayed-columns 'Exit Code' Command │
│ 0 echo foo │
│ 0 echo baz │
@ -27,4 +26,5 @@ Search Query: > -pipefail
│ │
│ │
│ │
│ │
└───────────────────────────────────────────────────────────────────────────┘