diff --git a/src/files-regular/add-from-url.js b/src/files-regular/add-from-url.js index 49bb5119c..87d3e530d 100644 --- a/src/files-regular/add-from-url.js +++ b/src/files-regular/add-from-url.js @@ -120,7 +120,7 @@ module.exports = (createCommon, options) => { }) it('should not add from an invalid url', (done) => { - ipfs.addFromURL('http://invalid', (err, result) => { + ipfs.addFromURL('123http://invalid', (err, result) => { expect(err).to.exist() expect(result).to.not.exist() done()