mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
* HTTPS by default, HTTP only if specified * Added/Updated unit tests;Added FTPS * Added confirmation to system messages such as shutdown, reboot, and lock * Corrected Typo * Added confirmation to system messages such as shutdown, reboot, and lock * Corrected Typo * Made changes requested by @mykhailopylyp * Further changes per review by mykhailopylyp * Fixes per code review * Changes per Mykhailopylyp * Fix all schemes being replaced with HTTPS Added new tests * Merging conflicts * Add ftp to fix spell-check * Fix unit tests Co-authored-by: chrisharris333 <60838650+chrisharris333@users.noreply.github.com> Co-authored-by: Chris Harris <chris.harris@mytinycloud.com>
This commit is contained in:
@@ -52,6 +52,10 @@ namespace Microsoft.Plugin.Uri.UnitTests.UriHelper
|
||||
[DataRow("http://[2001:0DB8::1]", true, "http://[2001:db8::1]/")]
|
||||
[DataRow("[2001:0DB8::1]:80", true, "https://[2001:db8::1]/")]
|
||||
[DataRow("http://[2001:0DB8::1]:80", true, "http://[2001:db8::1]/")]
|
||||
[DataRow("mailto:example@mail.com", true, "mailto:example@mail.com")]
|
||||
[DataRow("tel:411", true, "tel:411")]
|
||||
[DataRow("ftp://example.com", true, "ftp://example.com/")]
|
||||
|
||||
public void TryParseCanParseHostName(string query, bool expectedSuccess, string expectedResult)
|
||||
{
|
||||
// Arrange
|
||||
|
||||
Reference in New Issue
Block a user