Commit d8fc828c authored by Remy Suen's avatar Remy Suen Committed by GitHub

Merge pull request #1249 from novalis/dturner/bad-domain

Use example.com domain for default signature.
parents 6ff12edf 950960eb
......@@ -681,7 +681,7 @@ Repository.prototype.defaultSignature = function() {
var result = NodeGit.Signature.default(this);
if (!result || !result.name()) {
result = NodeGit.Signature.now("unknown", "unknown@unknown.com");
result = NodeGit.Signature.now("unknown", "unknown@example.com");
}
return result;
......
......@@ -72,7 +72,7 @@ describe("Signature", function() {
.then(function(repo) {
var sig = repo.defaultSignature();
assert.equal(sig.name(), "unknown");
assert.equal(sig.email(), "unknown@unknown.com");
assert.equal(sig.email(), "unknown@example.com");
})
.then(cleanUp)
.then(done)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment