m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 15:53:39 -05:00

Fix deprecations of ioutil (#3370)

This commit is contained in:
Bart
2023-07-16 10:14:22 +02:00
committed by GitHub
parent 547e101f1d
commit 3c09c77269
5 changed files with 14 additions and 14 deletions

View File

@@ -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