diff --git a/SharpFileSystem.Tests/FileSystemPathTest.cs b/SharpFileSystem.Tests/FileSystemPathTest.cs index d2990c1..b7a3072 100644 --- a/SharpFileSystem.Tests/FileSystemPathTest.cs +++ b/SharpFileSystem.Tests/FileSystemPathTest.cs @@ -323,9 +323,9 @@ public void AppendDirectoryTest() [InlineData("/root/subRoot/file.txt","/root/subroot/subsubroot/",false)] [InlineData("/root/subRoot/","/racine/",false)] - public void testIsRooted(FileSystemPath path, FileSystemPath root, bool isRooted) + public void testIsRooted(string path, string root, bool isRooted) { - Assert.Equal(isRooted,path.IsRootedBy(root)); + Assert.Equal(isRooted,((FileSystemPath)path).IsRootedBy(root)); } } }