diff --git a/Octokit.Tests/Helpers/StringExtensionsTests.cs b/Octokit.Tests/Helpers/StringExtensionsTests.cs index 0b7171db..51068460 100644 --- a/Octokit.Tests/Helpers/StringExtensionsTests.cs +++ b/Octokit.Tests/Helpers/StringExtensionsTests.cs @@ -57,8 +57,8 @@ namespace Octokit.Tests.Helpers [InlineData("https://host.com/path?name=other", "https://host.com/path?name=other")] [InlineData("https://host.com/path?name=example name.txt", "https://host.com/path{?name}")] [InlineData("https://host.com/path", "https://host.com/path{?other}")] - [InlineData("https://host.com/path?name=example name.txt,label=labeltext", "https://host.com/path{?name,label}")] - [InlineData("https://host.com/path?name=example name.txt,label=labeltext", "https://host.com/path{?name,label,other}")] + [InlineData("https://host.com/path?name=example name.txt&label=labeltext", "https://host.com/path{?name,label}")] + [InlineData("https://host.com/path?name=example name.txt&label=labeltext", "https://host.com/path{?name,label,other}")] public void ExpandsUriTemplates(string expected, string template) { Assert.Equal(expected, template.ExpandUriTemplate(new { name = "example name.txt",label="labeltext" }).ToString());