Commit b856d7ad authored by Amos Wenger's avatar Amos Wenger

pwr/patcher: Use screw.Rename in test corruptions

parent 08cf7607
Pipeline #14728 failed with stage
in 5 minutes and 53 seconds
......@@ -4,7 +4,6 @@ import (
"bytes"
"context"
"io/ioutil"
"os"
"path/filepath"
"testing"
......@@ -561,7 +560,7 @@ func Test_Scenarios(t *testing.T) {
},
corruptions: &testCorruption{
before: func(t *testing.T, dir string) {
wtest.Must(t, os.Rename(
wtest.Must(t, screw.Rename(
filepath.Join(dir, "base"),
filepath.Join(dir, "BASE"),
))
......@@ -627,7 +626,7 @@ func Test_Scenarios(t *testing.T) {
},
corruptions: &testCorruption{
before: func(t *testing.T, dir string) {
wtest.Must(t, os.Rename(
wtest.Must(t, screw.Rename(
filepath.Join(dir, "apricot"),
filepath.Join(dir, "APRICOT"),
))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment