diff --git a/Flow.Launcher.Test/Plugins/UrlPluginTest.cs b/Flow.Launcher.Test/Plugins/UrlPluginTest.cs index 9b8953361d5..f0d919bbe1f 100644 --- a/Flow.Launcher.Test/Plugins/UrlPluginTest.cs +++ b/Flow.Launcher.Test/Plugins/UrlPluginTest.cs @@ -49,6 +49,14 @@ public void OneTimeSetup() [TestCase("HTTPS://EXAMPLE.COM")] [TestCase("EXAMPLE.COM")] [TestCase("LOCALHOST")] + [TestCase("example.com/path")] + [TestCase("example.com/path/to/resource")] + [TestCase("http://example.com/path")] + [TestCase("https://example.com/path?query=1")] + [TestCase("192.168.1.1/path/to/resource")] + [TestCase("localhost:8080/api/endpoint")] + [TestCase("http://localhost/path")] + [TestCase("[::1]/path")] public void WhenValidUrlThenIsUrlReturnsTrue(string url) { Assert.That(plugin.IsURL(url), Is.True);