Skip to content

Commit

Permalink
fix xunit compiler warnings for integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
christianspecht committed Aug 10, 2018
1 parent 4e5ff3e commit 3b2ead6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ScmBackup.Tests.Integration/DirectoryHelperTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public void DirectoryWithSuffixIsCreated()

Assert.False(string.IsNullOrWhiteSpace(result));
Assert.True(Directory.Exists(result));
Assert.True(result.EndsWith(suffix));
Assert.EndsWith(suffix, result);
}

[Fact]
Expand Down
2 changes: 1 addition & 1 deletion src/ScmBackup.Tests.Integration/HosterFactoryTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public HosterFactoryTests()
[Fact]
public void NewHosterIsAdded()
{
Assert.Equal(1, sut.Count);
Assert.Single(sut);
}

[Fact]
Expand Down
2 changes: 1 addition & 1 deletion src/ScmBackup.Tests.Integration/ScmFactoryTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public ScmFactoryTests()
[Fact]
public void NewScmIsAdded()
{
Assert.Equal(1, sut.Count);
Assert.Single(sut);
}

[Fact]
Expand Down

0 comments on commit 3b2ead6

Please sign in to comment.