Skip to content

Commit

Permalink
fix(server): git daemon test error
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed May 2, 2023
1 parent 865532e commit 65a0e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/daemon/daemon_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func TestIdleTimeout(t *testing.T) {
if err != nil && !errors.Is(err, io.EOF) {
t.Fatalf("expected nil, got error: %v", err)
}
if out != git.ErrTimeout.Error() || out == "" {
if out != git.ErrTimeout.Error() && out != "" {
t.Fatalf("expected %q error, got %q", git.ErrTimeout, out)
}
}
Expand Down

0 comments on commit 65a0e4d

Please sign in to comment.