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 30d4218 commit f8295b3Copy full SHA for f8295b3
tests/Magick.NET.Tests/MagickNETTests/TheSetTempDirectoryMethod.cs
@@ -42,7 +42,10 @@ public void ShouldThrowExceptionWhenPathIsInvalid()
42
[Fact]
43
public void ShouldNotThrowExceptionWhenPathIsCorrect()
44
{
45
- MagickNET.SetTempDirectory(Path.GetTempPath());
+ var tempDir = Path.GetTempPath();
46
+ MagickNET.SetTempDirectory(tempDir);
47
+
48
+ Assert.Equal(tempDir, System.Environment.GetEnvironmentVariable("MAGICK_TEMPORARY_PATH"));
49
}
50
51
0 commit comments