Skip to content

Commit

Permalink
Fix breaking UTs by updating NFluent "IsPositive" calls (#7183)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregory-paidis-sonarsource committed May 8, 2023
1 parent 1a8bbdd commit 457405c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public void TestMethod17()
[TestMethod]
public void TestMethod21()
{
Check.ThatCode(() => 42).WhichResult().IsPositive();
Check.ThatCode(() => 42).WhichResult().IsStrictlyPositive();
}

[TestMethod]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public async Task<string> TestCase20(string str)
[TestCase]
public void TestCase21()
{
Check.ThatCode(() => 42).WhichResult().IsPositive();
Check.ThatCode(() => 42).WhichResult().IsStrictlyPositive();
}

[TestCase]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public void Fact14()
[Fact]
public void Fact16()
{
Check.ThatCode(() => 42).WhichResult().IsPositive();
Check.ThatCode(() => 42).WhichResult().IsStrictlyPositive();
}

[Fact]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public void Fact16()
[Fact]
public void Fact18()
{
Check.ThatCode(() => 42).WhichResult().IsPositive();
Check.ThatCode(() => 42).WhichResult().IsStrictlyPositive();
}

[Fact]
Expand Down

0 comments on commit 457405c

Please sign in to comment.