We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
GetTempPath
1 parent cb6b669 commit 45263ffCopy full SHA for 45263ff
Tests/Testably.Abstractions.Tests/FileSystem/Path/GetTempPathTests.cs
@@ -25,6 +25,16 @@ public void GetTempPath_MacOs_ShouldBeTmp()
25
result.Should().Match("/var/folders/??/*/T/");
26
}
27
28
+ [SkippableFact]
29
+ public void GetTempPath_ShouldEndWithDirectorySeparator()
30
+ {
31
+ string directorySeparator = FileSystem.Path.DirectorySeparatorChar.ToString();
32
+
33
+ string result = FileSystem.Path.GetTempPath();
34
35
+ result.Should().EndWith(directorySeparator);
36
+ }
37
38
[SkippableFact]
39
public void GetTempPath_ShouldRemainTheSame()
40
{
0 commit comments