From 993e10c873ef92725082864464b33c6c9c1f3c8a Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Wed, 6 May 2020 07:53:42 -0400 Subject: [PATCH] Remove duplicate tests from System.IO.FileSystem.Tests (#35842) --- src/libraries/System.IO.FileSystem/tests/FileInfo/Open.cs | 2 -- src/libraries/System.IO.FileSystem/tests/TestData.cs | 1 - 2 files changed, 3 deletions(-) diff --git a/src/libraries/System.IO.FileSystem/tests/FileInfo/Open.cs b/src/libraries/System.IO.FileSystem/tests/FileInfo/Open.cs index 2927ab3..a071f5d 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileInfo/Open.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileInfo/Open.cs @@ -13,7 +13,6 @@ namespace System.IO.Tests return new FileInfo(path).Open(mode); } - [Theory, MemberData(nameof(StreamSpecifiers))] public override void FileModeAppend(string streamSpecifier) { using (FileStream fs = CreateFileStream(GetTestFilePath() + streamSpecifier, FileMode.Append)) @@ -23,7 +22,6 @@ namespace System.IO.Tests } } - [Theory, MemberData(nameof(StreamSpecifiers))] public override void FileModeAppendExisting(string streamSpecifier) { string fileName = GetTestFilePath() + streamSpecifier; diff --git a/src/libraries/System.IO.FileSystem/tests/TestData.cs b/src/libraries/System.IO.FileSystem/tests/TestData.cs index 190a3d8..c00f3fc 100644 --- a/src/libraries/System.IO.FileSystem/tests/TestData.cs +++ b/src/libraries/System.IO.FileSystem/tests/TestData.cs @@ -59,7 +59,6 @@ internal static class TestData { TheoryData data = new TheoryData { - "\0", "middle\0path", "trailing\0" }; -- 2.7.4