diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/Args.FileSystemEventArgs.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/Args.FileSystemEventArgs.cs index 16c731a9489085..8b63e13e5a825b 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/Args.FileSystemEventArgs.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/Args.FileSystemEventArgs.cs @@ -64,16 +64,6 @@ public static void FileSystemEventArgs_ctor_DirectoryIsRelativePath_Unix(string Assert.Equal(Path.Combine(Directory.GetCurrentDirectory(), directory, name), args.FullPath); } - [Theory] - [PlatformSpecific(TestPlatforms.Windows)] - [InlineData("C:", "foo.txt")] - public static void FileSystemEventArgs_ctor_RelativePathFromCurrentDirectoryInGivenDrive(string directory, string name) - { - FileSystemEventArgs args = new FileSystemEventArgs(WatcherChangeTypes.All, directory, name); - - Assert.Equal(Path.Combine(Directory.GetCurrentDirectory(), name), args.FullPath); - } - [Theory] [InlineData("bar", "")] [InlineData("bar", null)] diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/Args.RenamedEventArgs.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/Args.RenamedEventArgs.cs index d15ec08d7e9376..2084c6cd31d7dc 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/Args.RenamedEventArgs.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/Args.RenamedEventArgs.cs @@ -67,16 +67,6 @@ public static void RenamedEventArgs_ctor_OldFullPath_DirectoryIsRelativePath_Uni Assert.Equal(Path.Combine(Directory.GetCurrentDirectory(), directory, oldName), args.OldFullPath); } - [Theory] - [PlatformSpecific(TestPlatforms.Windows)] - [InlineData("C:", "foo.txt", "bar.txt")] - public static void RenamedEventArgs_ctor_OldFullPath_DirectoryIsRelativePathFromCurrentDirectoryInGivenDrive(string directory, string name, string oldName) - { - RenamedEventArgs args = new RenamedEventArgs(WatcherChangeTypes.All, directory, name, oldName); - - Assert.Equal(Path.Combine(Directory.GetCurrentDirectory(), oldName), args.OldFullPath); - } - [Theory] [InlineData("bar", "", "")] [InlineData("bar", null, null)]