Skip to content

Commit 4c9973c

Browse files
Update PhysicalFileSystemProviderTests.cs
1 parent 5f1c88a commit 4c9973c

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

tests/ImageSharp.Web.Tests/Providers/PhysicalFileSystemProviderTests.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,25 @@ public class PhysicalFileSystemProviderTests
1010
{
1111
[Theory]
1212
#if OS_LINUX
13-
[InlineData(null, "wwwroot", "Users/root/", "Users/root/wwwroot")]
14-
[InlineData(null, "Users/WebRoot", "Users/root/", "Users/WebRoot")]
15-
[InlineData("providerFolder", "../Temp", "Users/this/a/root", "Users/this/a/root/providerFolder")]
16-
[InlineData("../Temp", null, "Users/this/a/root", "Users/this/a/Temp")]
17-
[InlineData("Users/WebRoot", null, "Users/this/a/root", "Users/WebRoot")]
13+
[InlineData(null, "wwwroot", "/Users/root/", "/Users/root/wwwroot")]
14+
[InlineData(null, "/Users/WebRoot", "/Users/root/", "/Users/WebRoot")]
15+
[InlineData("providerFolder", "../Temp", "/Users/this/a/root", "/Users/this/a/root/providerFolder")]
16+
[InlineData("../Temp", null, "/Users/this/a/root", "/Users/this/a/Temp")]
17+
[InlineData("/Users/WebRoot", null, "/Users/this/a/root", "/Users/WebRoot")]
1818
#elif OS_OSX
19-
[InlineData(null, "wwwroot", "Users/root/", "Users/root/wwwroot")]
20-
[InlineData(null, "Users/WebRoot", "Users/root/", "Users/WebRoot")]
21-
[InlineData("providerFolder", "../Temp", "Users/this/a/root", "Users/this/a/root/providerFolder")]
22-
[InlineData("../Temp", null, "Users/this/a/root", "Users/this/a/Temp")]
23-
[InlineData("Users/WebRoot", null, "Users/this/a/root", "Users/WebRoot")]
19+
[InlineData(null, "wwwroot", "/Users/root/", "/Users/root/wwwroot")]
20+
[InlineData(null, "/Users/WebRoot", "/Users/root/", "/Users/WebRoot")]
21+
[InlineData("providerFolder", "../Temp", "/Users/this/a/root", "/Users/this/a/root/providerFolder")]
22+
[InlineData("../Temp", null, "/Users/this/a/root", "/Users/this/a/Temp")]
23+
[InlineData("/Users/WebRoot", null, "/Users/this/a/root", "/Users/WebRoot")]
2424
#elif OS_WINDOWS
2525
[InlineData(null, "wwwroot", "C:/root\\", "C:\\root\\wwwroot")]
2626
[InlineData(null, "C:/WebRoot", "C:/root\\", "C:/WebRoot")]
2727
[InlineData("providerFolder", "../Temp", "C:/this/a/root", "C:\\this\\a\\root\\providerFolder")]
2828
[InlineData("../Temp", null, "C:/this/a/root", "C:\\this\\a\\Temp")]
2929
[InlineData("C:/WebRoot", null, "C:/this/a/root", "C:/WebRoot")]
3030
#endif
31-
public void CacheRootFromOptions(string providerRoot, string webRootPath, string contentRootPath, string expected)
31+
public void ProvidersRootFromOptions(string providerRoot, string webRootPath, string contentRootPath, string expected)
3232
{
3333
var providerOptions = new PhysicalFileSystemProviderOptions
3434
{

0 commit comments

Comments
 (0)