Fix tests without ensure

Signed-off-by: frenchben <me+git@frenchben.com>
pull/10178/head
frenchben 1 year ago
parent 0a0eaff3da
commit 5e38f0ee4d

@ -111,7 +111,7 @@ func TestSave(t *testing.T) {
} }
func TestRepeatableSave(t *testing.T) { func TestRepeatableSave(t *testing.T) {
tmp := ensure.TempDir(t) tmp := t.TempDir()
defer os.RemoveAll(tmp) defer os.RemoveAll(tmp)
modTime := time.Date(2021, 9, 1, 20, 34, 58, 651387237, time.UTC) modTime := time.Date(2021, 9, 1, 20, 34, 58, 651387237, time.UTC)
tests := []struct { tests := []struct {

Loading…
Cancel
Save