add missing tests
This commit is contained in:
@@ -97,6 +97,15 @@ namespace FluentUriBuilder.Tests
|
||||
Assert.Equal(url.Host, "yodawg.com");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void AddParamWithNoValue()
|
||||
{
|
||||
var url = new UriBuilder("http://awesome.com")
|
||||
.WithParameter("awesome", "yodawg")
|
||||
.WithParameter("fun", null);
|
||||
Assert.Equal("http://awesome.com/?awesome=yodawg&fun", url.Uri.ToString());
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void TestAddTwoUrlParameters()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user