remove extra watcher

Commit migrated from https://github.com/dotnet/corefx/commit/b20a4917f19243a6ec2b12ae420736ac83cb05a0
This commit is contained in:
Ben Adams committed 2019-01-08 23:27:08 +00:00
1 parent f3bdf9ab31
commit e950a40bd6
1 file changed
+1 -2
@@ -55,7 +55,6 @@ namespace System.IO.Tests
ExecuteWithRetry(() =>
{
using (var watcher1 = new FileSystemWatcher(TestDirectory))
using (var watcher2 = new FileSystemWatcher(TestDirectory))
{
string fileName = Path.Combine(TestDirectory, "file");
watcher1.Filter = Path.GetFileName(fileName);
@@ -348,4 +347,4 @@ namespace System.IO.Tests
});
}
}
}
}