Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
dogancanbakir committed Jul 25, 2023
1 parent 8b81edc commit 994fd33
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/versionbump/versionbump_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package main

import (
"io/ioutil"
"os"
"os/exec"
"testing"
Expand Down Expand Up @@ -103,7 +102,7 @@ func TestBumpVersionCLI(t *testing.T) {
for _, tc := range testCases {
t.Run(tc.name, func(t *testing.T) {
// Create a temporary file and write the content to it
tempFile, err := ioutil.TempFile(os.TempDir(), "prefix-")
tempFile, err := os.CreateTemp(os.TempDir(), "prefix-")
if err != nil {
t.Fatalf("Cannot create temporary file: %s", err)
}
Expand Down

0 comments on commit 994fd33

Please sign in to comment.