Skip to content

Commit

Permalink
fix(windows): tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Andres Virviescas Santana committed Jan 12, 2022
1 parent b2e1ccd commit aaf6cca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atreugo_windows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func TestAtreugo_ListenAndServe(t *testing.T) { //nolint:funlen
t.Errorf("Unexpected error: %v", err)
}
case <-time.After(200 * time.Millisecond):
if err := s.server.Shutdown(); err != nil {
if err := s.engine.Shutdown(); err != nil {
t.Errorf("Error shutting down the server %+v", err)
}
if tt.want.getErr {
Expand Down

0 comments on commit aaf6cca

Please sign in to comment.