Skip to content

Commit

Permalink
Merge pull request #115 from tavis-software/dependabot/nuget/xunit-2.5.1
Browse files Browse the repository at this point in the history
Bump xunit from 2.4.2 to 2.5.1
  • Loading branch information
github-actions[bot] authored Sep 18, 2023
2 parents a20937a + 3e93d95 commit 2251d3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/UriTemplateTests/ParameterMatchingTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public void GetParameterFromArrayParameter()

var parameters = template.GetParameters(uri);

Assert.Equal(1, parameters.Count);
Assert.Single(parameters);
Assert.Equal("45,23", parameters["blur"]);

}
Expand Down Expand Up @@ -172,7 +172,7 @@ public void TestUrlWithQuestionMarkAsFirstCharacter()

var parameters = new UriTemplate("?hash={hash}").GetParameters(new Uri("http://localhost:5000/glimpse/metadata?hash=123")); ;

Assert.Equal(1, parameters.Count);
Assert.Single(parameters);
Assert.Equal("123", parameters["hash"]);

}
Expand All @@ -188,7 +188,7 @@ public void TestExactParameterCount()

var parameters = template.GetParameters(uri);

Assert.Equal(1, parameters.Count);
Assert.Single(parameters);

}

Expand Down
2 changes: 1 addition & 1 deletion src/UriTemplateTests/UriTemplateTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit" Version="2.5.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.1" />
</ItemGroup>

Expand Down

0 comments on commit 2251d3f

Please sign in to comment.