We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63afd18 commit 98136c5Copy full SHA for 98136c5
LibGit2Sharp.Tests/RemoteFixture.cs
@@ -110,6 +110,10 @@ public void CanSetRemotePushUrl()
110
Remote remote = repo.Network.Remotes[name];
111
Assert.NotNull(remote);
112
113
+ // before setting push, both push and fetch urls should match
114
+ Assert.Equal(url, remote.Url);
115
+ Assert.Equal(url, remote.PushUrl);
116
+
117
Remote updatedremote = repo.Network.Remotes.Update(remote,
118
r => r.PushUrl = pushurl);
119
0 commit comments