Update test goldens + drop duplicate macos version from go tests

This commit is contained in:
David Dworken 2024-08-25 16:04:55 -07:00
parent 7bbd0cb036
commit c8c1523683
No known key found for this signature in database
5 changed files with 6 additions and 10 deletions

View File

@ -24,7 +24,7 @@ jobs:
needs: extra-delay
strategy:
matrix:
os: [ubuntu-latest, macos-latest, macos-14]
os: [ubuntu-latest, macos-14]
test_shard: ["0", "1", "2", "3", "4"]
fail-fast: false
steps:

View File

@ -274,7 +274,7 @@ func GetConfig() (ClientConfig, error) {
return ClientConfig{}, fmt.Errorf("failed to parse config file: %w", err)
}
config.KeyBindings = config.KeyBindings.WithDefaults()
if config.DisplayedColumns == nil || len(config.DisplayedColumns) == 0 {
if len(config.DisplayedColumns) == 0 {
config.DisplayedColumns = []string{"Hostname", "CWD", "Timestamp", "Runtime", "Exit Code", "Command"}
}
if config.TimestampFormat == "" {

View File

@ -393,7 +393,6 @@ func concatIterators(iters ...iter.Seq2[string, error]) iter.Seq2[string, error]
for _, seq := range iters {
seq(yield)
}
return
}
}
@ -406,7 +405,6 @@ func Values[Slice ~[]Elem, Elem any](s Slice) iter.Seq2[Elem, error] {
return
}
}
return
}
}
@ -436,8 +434,6 @@ func readFileToIterator(path string) iter.Seq2[string, error] {
yield("", fmt.Errorf("scanner.Err()=%w", err))
return
}
return
}
}

View File

@ -1,6 +1,6 @@
Search Query: > ls
Search Query: > ls
┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐
┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Hostname CWD Timestamp Runtime Exit Code Command │
│────────────────────────────────────────────────────────────────────────────────────────────────────────│
│ localhost /tmp/ Oct 17 2022 21:43:21 PDT 3s 2 echo 'aaaaaa bbbb' │

View File

@ -1,6 +1,6 @@
Search Query: > ls
Search Query: > ls
┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐
┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Hostname CWD Timestamp Runtime Exit Code Command │
│────────────────────────────────────────────────────────────────────────────────────────────────────────│
│ localhost /tmp/ Oct 17 2022 21:43:21 PDT 3s 2 echo 'aaaaaa bbbb' │