-
-
Notifications
You must be signed in to change notification settings - Fork 888
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
windows: run TestWatchRename/rename_overwriting_existing_file (#490)
This Skip() was added in 2013 (c825c6d) with "Windows cannot overwrite file on rename", but it seems to work fine. os.Rename() is also documented as "If newpath already exists and is not a directory, Rename replaces it", so if it *doesn't* work it's a bug in os.Rename(). Maybe os.Rename() behaved different nine years ago.
- Loading branch information
Showing
2 changed files
with
7 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters