Fix xUnit Warnings (#2906)

* Fix xUnit Warnings

* Fix

* Fix formatting in AsyncPaginationExtensionGenerator.cs

---------

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
This commit is contained in:
Tom Longhurst
2024-04-15 21:19:26 +01:00
committed by GitHub
parent 4ca8f1cd2c
commit cd1835326b
83 changed files with 543 additions and 538 deletions

View File

@@ -58,7 +58,7 @@ public class SearchIssuesRequestTests
property.Value(request, "blah");
// Ensure the specified parameter now exists
Assert.True(request.MergedQualifiers().Count(x => x.Contains(property.Key)) == 1);
Assert.Equal(1, request.MergedQualifiers().Count(x => x.Contains(property.Key)));
}
}
@@ -84,7 +84,7 @@ public class SearchIssuesRequestTests
property.Value(request, DateRange.GreaterThan(new DateTimeOffset(DateTime.Today.AddDays(-7))));
// Ensure the specified parameter now exists
Assert.True(request.MergedQualifiers().Count(x => x.Contains(property.Key)) == 1);
Assert.Equal(1, request.MergedQualifiers().Count(x => x.Contains(property.Key)));
}
}