From 02718be16ed9877932e75c3ccb4671dd818e79db Mon Sep 17 00:00:00 2001 From: max-ieremenko Date: Sat, 13 Apr 2024 14:51:54 +0200 Subject: [PATCH] .sln update dependencies --- sources/Directory.Packages.props | 14 +++++++------- .../FileSystemDirectoryInfoTest.cs | 6 +++--- .../FileSystemFileInfoTest.cs | 6 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/sources/Directory.Packages.props b/sources/Directory.Packages.props index 1604ba3..1cac049 100644 --- a/sources/Directory.Packages.props +++ b/sources/Directory.Packages.props @@ -9,13 +9,13 @@ - - - - - + + + + + - - + + \ No newline at end of file diff --git a/sources/ZipAsFolder.IO.FileSystem.Test/FileSystemDirectoryInfoTest.cs b/sources/ZipAsFolder.IO.FileSystem.Test/FileSystemDirectoryInfoTest.cs index 84edb6e..feafd5d 100644 --- a/sources/ZipAsFolder.IO.FileSystem.Test/FileSystemDirectoryInfoTest.cs +++ b/sources/ZipAsFolder.IO.FileSystem.Test/FileSystemDirectoryInfoTest.cs @@ -66,8 +66,8 @@ public void Rename() actual.Name.ShouldBe(newName); - DirectoryAssert.Exists(actual.NativeFullName); - DirectoryAssert.DoesNotExist(_sut.NativeFullName); + Assert.That(actual.NativeFullName, Does.Exist.IgnoreFiles); + Assert.That(_sut.NativeFullName, Does.Not.Exist); _temp = new TempDirectory(actual.NativeFullName); } @@ -79,6 +79,6 @@ public void RenameDirectoryExists() Assert.Throws(() => _sut.Rename(Path.GetFileName(existing.Location), _context.Object)); - DirectoryAssert.Exists(_sut.NativeFullName); + Assert.That(_sut.NativeFullName, Does.Exist.IgnoreFiles); } } \ No newline at end of file diff --git a/sources/ZipAsFolder.IO.FileSystem.Test/FileSystemFileInfoTest.cs b/sources/ZipAsFolder.IO.FileSystem.Test/FileSystemFileInfoTest.cs index 7b689a4..b9bd753 100644 --- a/sources/ZipAsFolder.IO.FileSystem.Test/FileSystemFileInfoTest.cs +++ b/sources/ZipAsFolder.IO.FileSystem.Test/FileSystemFileInfoTest.cs @@ -48,8 +48,8 @@ public void Rename() actual.Name.ShouldBe("new.txt"); actual.NativeFullName.ShouldBe(Path.Combine(_directory.Location, "new.txt")); - FileAssert.Exists(actual.NativeFullName); - FileAssert.DoesNotExist(_sut.NativeFullName); + Assert.That(actual.NativeFullName, Does.Exist.IgnoreDirectories); + Assert.That(_sut.NativeFullName, Does.Not.Exist); } [Test] @@ -59,6 +59,6 @@ public void RenameFileExists() Assert.Throws(() => _sut.Rename("new.txt", _context.Object)); - FileAssert.Exists(_sut.NativeFullName); + Assert.That(_sut.NativeFullName, Does.Exist.IgnoreDirectories); } } \ No newline at end of file