Skip to content

Commit

Permalink
revert changes of the listener package
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo82148 committed Mar 12, 2021
1 parent fd3f59a commit 027e400
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion listener/listener_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package listener

import (
"context"
"io/ioutil"
"net"
"os"
"path/filepath"
Expand Down Expand Up @@ -185,7 +186,7 @@ func TestListenConfigs(t *testing.T) {
})

t.Run("unix", func(t *testing.T) {
dir, err := os.MkdirTemp("", "server-starter-test")
dir, err := ioutil.TempDir("", "server-starter-test")
if err != nil {
t.Fatalf("Failed to create temp directory: %s", err)
}
Expand Down

0 comments on commit 027e400

Please sign in to comment.