Get rid of some duplicate test data
- remove a few warnings from output when testing in VS
This commit is contained in:
parent
3866ee72e0
commit
9c6c8410e2
|
|
@ -43,9 +43,6 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding.Binders
|
|||
[InlineData(typeof(IList<int>))]
|
||||
[InlineData(typeof(List<int>))]
|
||||
[InlineData(typeof(Collection<int>))]
|
||||
[InlineData(typeof(IEnumerable<int>))]
|
||||
[InlineData(typeof(IReadOnlyCollection<int>))]
|
||||
[InlineData(typeof(IReadOnlyList<int>))]
|
||||
public void Create_ForSupportedTypes_ReturnsBinder(Type modelType)
|
||||
{
|
||||
// Arrange
|
||||
|
|
|
|||
|
|
@ -941,10 +941,8 @@ namespace Microsoft.AspNetCore.Mvc.Routing
|
|||
|
||||
[Theory]
|
||||
[InlineData(null, null, null, "/", null, "/")]
|
||||
[InlineData(null, null, null, "/", null, "/")]
|
||||
[InlineData(null, null, null, "/Hello", null, "/Hello" )]
|
||||
[InlineData(null, null, null, "Hello", null, "/Hello")]
|
||||
[InlineData(null, null, null, "/Hello", null, "/Hello")]
|
||||
[InlineData("/", null, null, "", null, "/")]
|
||||
[InlineData("/hello/", null, null, "/world", null, "/hello/world")]
|
||||
[InlineData("/hello/", "https", "myhost", "/world", "fragment-value", "https://myhost/hello/world#fragment-value")]
|
||||
|
|
|
|||
Loading…
Reference in New Issue