Skip to content

Commit c15c7cf

Browse files
Copilotjkotas
andcommitted
Remove redundant UnixCreateWithControlCharacters test
Co-authored-by: jkotas <[email protected]>
1 parent c49e411 commit c15c7cf

File tree

1 file changed

+0
-12
lines changed
  • src/libraries/System.Runtime/tests/System.IO.FileSystem.Tests/File

1 file changed

+0
-12
lines changed

src/libraries/System.Runtime/tests/System.IO.FileSystem.Tests/File/Create.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -352,18 +352,6 @@ public void CreateWithProblematicNames(string fileName)
352352
}
353353
}
354354

355-
[Theory, MemberData(nameof(TestData.UnixOnlyFileNames), MemberType = typeof(TestData))]
356-
[PlatformSpecific(TestPlatforms.AnyUnix)]
357-
public void UnixCreateWithControlCharacters(string fileName)
358-
{
359-
DirectoryInfo testDir = Directory.CreateDirectory(GetTestFilePath());
360-
string filePath = Path.Combine(testDir.FullName, fileName);
361-
using (Create(filePath))
362-
{
363-
Assert.True(File.Exists(filePath));
364-
}
365-
}
366-
367355
[ConditionalTheory(nameof(UsingNewNormalization))]
368356
[MemberData(nameof(TestData.WindowsTrailingProblematicFileNames), MemberType = typeof(TestData))]
369357
[PlatformSpecific(TestPlatforms.Windows)]

0 commit comments

Comments
 (0)