From aaf6ccaca7e997b1aa66536ddc1a07c29025140f Mon Sep 17 00:00:00 2001 From: Sergio Andres Virviescas Santana Date: Wed, 12 Jan 2022 11:31:10 +0100 Subject: [PATCH] fix(windows): tests --- atreugo_windows_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atreugo_windows_test.go b/atreugo_windows_test.go index b877a0d..18db723 100644 --- a/atreugo_windows_test.go +++ b/atreugo_windows_test.go @@ -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 {