From c0b3a1b625838874d5e7c3ce83ff2144607e6092 Mon Sep 17 00:00:00 2001 From: Olivier Duhart Date: Tue, 16 May 2023 14:33:16 +0200 Subject: [PATCH] fix xunit theory --- SharpFileSystem.Tests/FileSystemPathTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); } } }