Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
waybackarchiver authored Jun 26, 2024
1 parent 5076173 commit 2076126
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions service/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ func TestWayback(t *testing.T) {
}
w := Wayback(ctx, opts, urls, do)

if w == nil {
t.Fatal("Unexpected wayback exceeded")
if w != nil {
t.Fatalf("Unexpected wayback exceeded: %v", w)
}
}

Expand Down Expand Up @@ -82,7 +82,7 @@ func TestWaybackWithoutReduxer(t *testing.T) {
}
w := Wayback(ctx, opts, urls, do)

if w == nil {
t.Fatal("Unexpected wayback exceeded")
if w != nil {
t.Fatalf("Unexpected wayback exceeded: %v", w)
}
}

0 comments on commit 2076126

Please sign in to comment.