Fix #1502 - Remove duplicate unit tests
This commit is contained in:
parent
90e41b905a
commit
e37f1ad85f
|
|
@ -72,8 +72,6 @@ namespace Microsoft.AspNet.Mvc.Core.Test
|
|||
[InlineData("/", "~/", "/")]
|
||||
[InlineData("", "~/Home/About", "/Home/About")]
|
||||
[InlineData("/myapproot", "~/", "/myapproot/")]
|
||||
[InlineData("", "~/Home/About", "/Home/About")]
|
||||
[InlineData("/myapproot", "~/", "/myapproot/")]
|
||||
public void Execute_ReturnsAppRelativePath_WhenItStartsWithTilde(string appRoot,
|
||||
string contentPath,
|
||||
string expectedPath)
|
||||
|
|
|
|||
|
|
@ -62,7 +62,6 @@ namespace Microsoft.AspNet.Mvc.ApplicationModels
|
|||
[InlineData("/", "", "")]
|
||||
[InlineData("", "/", "")]
|
||||
[InlineData("/", "/", "")]
|
||||
[InlineData("/", "/", "")]
|
||||
[InlineData("~/", null, "")]
|
||||
[InlineData("~/", "", "")]
|
||||
[InlineData("~/", "/", "")]
|
||||
|
|
|
|||
|
|
@ -203,7 +203,6 @@ namespace Microsoft.AspNet.Mvc.Core.Test
|
|||
[InlineData("HtTpS://///www.example.com/foo.html")]
|
||||
[InlineData("http:///www.example.com/foo.html")]
|
||||
[InlineData("http:////www.example.com/foo.html")]
|
||||
[InlineData("http://///www.example.com/foo.html")]
|
||||
public void IsLocalUrl_RejectsUrlsWithTooManySchemeSeparatorCharacters(string url)
|
||||
{
|
||||
// Arrange
|
||||
|
|
|
|||
Loading…
Reference in New Issue