Skip to content

Commit

Permalink
Remove call to depreciated package
Browse files Browse the repository at this point in the history
  • Loading branch information
cudevmaxwell committed Oct 4, 2022
1 parent 92eeb3d commit d473d70
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ package main

import (
"encoding/xml"
"io/ioutil"
"os"
"reflect"
"testing"
Expand Down Expand Up @@ -57,7 +56,7 @@ func TestLoadParameters(t *testing.T) {
</parameters>
</job>`)

tmpFile, err := ioutil.TempFile("", "*.params.xml")
tmpFile, err := os.CreateTemp("", "*.params.xml")
if err != nil {
t.Error(err)
}
Expand Down

0 comments on commit d473d70

Please sign in to comment.