Skip to content

Commit

Permalink
Fix test check order
Browse files Browse the repository at this point in the history
  • Loading branch information
gaby authored Nov 30, 2024
1 parent a54cdf7 commit 8228e2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions listen_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func Test_Listen_Acme_TLS_Prefork(t *testing.T) {
app := New()

// invalid port
require.Error(t, app.Listen(":0", ListenConfig{
require.Error(t, app.Listen(":99999", ListenConfig{
DisableStartupMessage: true,
EnablePrefork: true,
AutoCertManager: m,
Expand All @@ -247,7 +247,7 @@ func Test_Listen_Acme_TLS_Prefork(t *testing.T) {
assert.NoError(t, app.Shutdown())
}()

require.NoError(t, app.Listen(":99999", ListenConfig{
require.NoError(t, app.Listen(":0", ListenConfig{
DisableStartupMessage: true,
EnablePrefork: true,
AutoCertManager: m,
Expand Down

0 comments on commit 8228e2c

Please sign in to comment.