diff options
author | Bart <info@bartfokker.com> | 2023-07-16 10:14:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-16 17:14:22 +0900 |
commit | 3c09c77269d848f5e7dd8f350a90e8d7ed760845 (patch) | |
tree | cf418e344df526d58b6a3a7fc83bcc29d81d60f9 /src/history_test.go | |
parent | 547e101f1d6bf326d286bac0fb3272738a92a67f (diff) |
Fix deprecations of ioutil (#3370)
Diffstat (limited to 'src/history_test.go')
-rw-r--r-- | src/history_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/history_test.go b/src/history_test.go index 6294bde8..b18f31d2 100644 --- a/src/history_test.go +++ b/src/history_test.go @@ -1,7 +1,6 @@ package fzf import ( - "io/ioutil" "os" "runtime" "testing" @@ -25,7 +24,7 @@ func TestHistory(t *testing.T) { } } - f, _ := ioutil.TempFile("", "fzf-history") + f, _ := os.CreateTemp("", "fzf-history") f.Close() { // Append lines |