handle numeric input (#11885)

This commit is contained in:
Davide Giacometti
2021-07-05 16:26:31 +02:00
committed by GitHub
parent 370e8c8574
commit 3f70c8c889
2 changed files with 4 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ namespace Microsoft.Plugin.Uri.UnitTests.UriHelper
[TestCase("localhost", true, "http://localhost/")]
[TestCase("127.0.0.1", true, "http://127.0.0.1/")]
[TestCase("127.0.0.1:80", true, "http://127.0.0.1/")]
[TestCase("127", true, "http://0.0.0.127/")]
[TestCase("127", false, null)]
[TestCase("", false, null)]
[TestCase("https://google.com", true, "https://google.com/")]
[TestCase("ftps://google.com", true, "ftps://google.com/")]