Added a missing unit test and fixed another bug with the RouteMatcher. Bumped package version to 1.3.0
This commit is contained in:
@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user