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.
1 parent 942634c commit eb3a701Copy full SHA for eb3a701
test/CodeQLToolkit.Shared.Tests/Utils/FileUtilsTest.cs
@@ -18,6 +18,16 @@ public void TestCreateTempDirectory()
18
{
19
var dir = FileUtils.CreateTempDirectory();
20
Assert.IsTrue(Directory.Exists(dir));
21
+ Assert.IsTrue(dir.StartsWith(Path.GetTempPath()));
22
+ }
23
+
24
+ [Test]
25
+ public void TestCreateTempDirectoryWithPath()
26
+ {
27
+ var dir = FileUtils.CreateTempDirectory(Path.GetTempPath());
28
+ Assert.IsTrue(Directory.Exists(dir));
29
30
31
}
32
33
0 commit comments