Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Mar 17, 2013
1 parent 72b638b commit 12cca58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ServiceStack.Common.Tests/UrlExtensionTests.cs
Expand Up @@ -178,7 +178,7 @@ public void Can_use_non_default_for_nullable_value_types_on_querystring()
public void Can_combine_Uris_with_toUrl() public void Can_combine_Uris_with_toUrl()
{ {
var serviceEndpoint = new Uri("http://localhost/api/", UriKind.Absolute); var serviceEndpoint = new Uri("http://localhost/api/", UriKind.Absolute);
var actionUrl = new Uri(new JustId { Id = 1 }.ToUrl("GET").Substring(), UriKind.Relative); var actionUrl = new Uri(new JustId { Id = 1 }.ToUrl("GET").Substring(1), UriKind.Relative);


Assert.That(new Uri(serviceEndpoint, actionUrl).ToString(), Is.EqualTo("http://localhost/api/route/1")); Assert.That(new Uri(serviceEndpoint, actionUrl).ToString(), Is.EqualTo("http://localhost/api/route/1"));
} }
Expand Down

0 comments on commit 12cca58

Please sign in to comment.