mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
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:
@@ -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)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user