Skip to content

Commit 667b416

Browse files
Copilotjkotas
andcommitted
Remove redundant UnixOnlyFileNames property from TestData.cs
Co-authored-by: jkotas <[email protected]>
1 parent c15c7cf commit 667b416

File tree

1 file changed

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

1 file changed

+0
-19
lines changed

src/libraries/System.Runtime/tests/System.IO.FileSystem.Tests/TestData.cs

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -135,25 +135,6 @@ public static TheoryData<string> ValidFileNames
135135
}
136136
}
137137

138-
/// <summary>
139-
/// Filenames with control characters that are only valid on Unix.
140-
/// Windows reserves control characters 0-31 as invalid.
141-
/// Use ValidFileNames instead which includes these on Unix platforms.
142-
/// </summary>
143-
public static TheoryData<string> UnixOnlyFileNames
144-
{
145-
get
146-
{
147-
return new TheoryData<string>
148-
{
149-
"file\tname", // tab
150-
"file\rname", // carriage return
151-
"file\vname", // vertical tab
152-
"file\fname" // form feed
153-
};
154-
}
155-
}
156-
157138
/// <summary>
158139
/// Filenames with trailing spaces or periods. On Windows, these require \\?\ prefix for creation
159140
/// but can be enumerated. Direct string-based APIs will have the trailing characters stripped.

0 commit comments

Comments
 (0)