Skip to content

Commit 80018ae

Browse files
use newer
1 parent 31a1af1 commit 80018ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test_helpers/main.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,9 @@ func StartTarantool(startOpts StartOpts) (TarantoolInstance, error) {
189189
var inst TarantoolInstance
190190

191191
// Create work_dir for a new instance.
192-
dir, err := os.MkdirTemp("", "work_dir")
192+
// TO DO: replace with `os.MkdirTemp` when we drop support of
193+
// Go 1.16 an older
194+
dir, err := ioutil.TempDir("", "work_dir")
193195
if err != nil {
194196
return inst, err
195197
}

0 commit comments

Comments
 (0)