change to util.WriteFile

This commit is contained in:
chrislu
2022-02-04 21:32:27 -08:00
parent 76e297d64f
commit affe3c2c12
5 changed files with 7 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ func TestResizing(t *testing.T) {
buf := new(bytes.Buffer)
buf.ReadFrom(resized)
os.WriteFile("resized1.png", buf.Bytes(), 0644)
util.WriteFile("resized1.png", buf.Bytes(), 0644)
os.Remove("resized1.png")