Skip to content

Commit

Permalink
Merge pull request #7 from max-ieremenko/sln/update-dependencies
Browse files Browse the repository at this point in the history
.sln update dependencies
  • Loading branch information
max-ieremenko authored Apr 13, 2024
2 parents c3742d1 + 02718be commit 3d4b0cc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions sources/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@

<PackageVersion Include="System.Runtime.CompilerServices.Unsafe" Version="4.5.3" />

<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
<PackageVersion Include="NUnit3TestAdapter" Version="4.2.1" />
<PackageVersion Include="Moq" Version="4.18.2" />
<PackageVersion Include="NUnit" Version="3.13.3" />
<PackageVersion Include="Shouldly" Version="4.1.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageVersion Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageVersion Include="Moq" Version="4.20.70" />
<PackageVersion Include="NUnit" Version="4.1.0" />
<PackageVersion Include="Shouldly" Version="4.2.1" />

<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="1.1.1" />
<PackageVersion Include="StyleCop.Analyzers.Unstable" Version="1.2.0.435" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
<PackageVersion Include="StyleCop.Analyzers.Unstable" Version="1.2.0.556" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -79,6 +79,6 @@ public void RenameDirectoryExists()

Assert.Throws<IOException>(() => _sut.Rename(Path.GetFileName(existing.Location), _context.Object));

DirectoryAssert.Exists(_sut.NativeFullName);
Assert.That(_sut.NativeFullName, Does.Exist.IgnoreFiles);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -59,6 +59,6 @@ public void RenameFileExists()

Assert.Throws<IOException>(() => _sut.Rename("new.txt", _context.Object));

FileAssert.Exists(_sut.NativeFullName);
Assert.That(_sut.NativeFullName, Does.Exist.IgnoreDirectories);
}
}

0 comments on commit 3d4b0cc

Please sign in to comment.