feat(aa-log): add the --since option.
This commit is contained in:
parent
2bace01783
commit
7e09351f8f
3 changed files with 16 additions and 7 deletions
|
|
@ -49,7 +49,7 @@ func TestGetJournalctlLogs(t *testing.T) {
|
|||
}
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
reader, _ := GetJournalctlLogs(tt.path, tt.useFile)
|
||||
reader, _ := GetJournalctlLogs(tt.path, "", tt.useFile)
|
||||
if got := New(reader, tt.name); !reflect.DeepEqual(got, tt.want) {
|
||||
t.Errorf("New() = %v, want %v", got, tt.want)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue