Added a missing unit test and fixed another bug with the RouteMatcher. Bumped package version to 1.3.0

This commit is contained in:
2023-02-08 15:23:43 -08:00
parent 85889973c8
commit 0ee5e98768
3 changed files with 12 additions and 1 deletions

View File

@ -10,6 +10,12 @@ namespace MontoyaTech.Rest.Net.Tests
{
public class RouteMatcherTests
{
[Fact]
public void SyntaxWithPathShouldNotMatchRoot()
{
RouteMatcher.Matches("http://localhost/", "/test", out _).Should().BeFalse();
}
[Fact]
public void SyntaxWithRootShouldMatch()
{