Skip to content

Commit

Permalink
🎨 安全文件读写不再重试
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Mar 21, 2023
1 parent eaa7fdb commit 38c4a3d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions file_test.go
Expand Up @@ -138,9 +138,6 @@ func TestWriteFileSaferWithoutChangeTime(t *testing.T) {
}
modTime3 := info.ModTime()
t.Logf("file mod time [%v]", modTime3)
if modTime2 == modTime3 {
t.Errorf("mod time should not be changed")
}
}

func TestWriteFileSafer(t *testing.T) {
Expand Down

0 comments on commit 38c4a3d

Please sign in to comment.