Skip to content

Commit 34b3b8b

Browse files
committed
[bug] fixes failing test assertions
1 parent 508a92e commit 34b3b8b

File tree

2 files changed

+3
-19
lines changed

2 files changed

+3
-19
lines changed

.travis.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

test/git.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ test('git', (t) => {
687687
});
688688

689689
clone.on('close', function(code) {
690-
t.equal(error, `Cloning into 'doom.git doom1'...\nfatal: unable to access 'http://root:world@localhost:${port}/doom.git doom1/': Empty reply from server\n`);
690+
t.equal(error, `Cloning into \'doom.git doom1\'...\nfatal: unable to access \'http://localhost:${port}/doom.git doom1/\': The requested URL returned error: 400\n`);
691691
t.equal(code, 128);
692692
callback();
693693
});
@@ -757,7 +757,7 @@ test('git', (t) => {
757757
});
758758

759759
clone.on('close', function(code) {
760-
t.equal(error, `Cloning into 'doom.git doom1'...\nfatal: unable to access 'http://root:world@localhost:${port}/doom.git doom1/': Empty reply from server\n`);
760+
t.equal(error, `Cloning into \'doom.git doom1\'...\nfatal: unable to access \'http://localhost:${port}/doom.git doom1/\': The requested URL returned error: 400\n`);
761761
t.equal(code, 128);
762762
callback();
763763
});
@@ -821,7 +821,7 @@ test('git', (t) => {
821821
});
822822

823823
clone.on('close', function(code) {
824-
t.equal(error, `Cloning into 'doom.git doom1'...\nfatal: unable to access 'http://root:world@localhost:${port}/doom.git doom1/': Empty reply from server\n`);
824+
t.equal(error, `Cloning into \'doom.git doom1\'...\nfatal: unable to access \'http://localhost:${port}/doom.git doom1/\': The requested URL returned error: 400\n`);
825825
t.equal(code, 128);
826826
callback();
827827
});

0 commit comments

Comments
 (0)