Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixed remote.js tests on AppVeyor
The assert remote url test was working locally but didn't work on AppVeyor.
Now it should work on both.
  • Loading branch information
John Haley committed Sep 25, 2014
commit 848652eb8fb39e2b13746397418be11468339453
4 changes: 3 additions & 1 deletion test/tests/remote.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ describe("Remote", function() {
});

it("can read the remote url", function() {
assert.equal(this.remote.url(), "https://github.com/nodegit/nodegit.git");
assert.equal(
this.remote.url().replace(".git", ""),
"https://github.com/nodegit/nodegit");
});

it("can read the remote name", function() {
Expand Down