@@ -973,7 +973,27 @@ test('remark-validate-links', function(t) {
973973 ]).then(function(result) {
974974 st.equal(
975975 strip(result.stderr),
976− ['external.md: no issues found'].join('\n'),
976+ 'external.md: no issues found',
977+ 'should report'
978+ )
979+ }, st.error)
980+ })
981+
982+ t.test('should ignore external links (without repo)', function(st) {
983+ st.plan(1)
984+
985+ execa(bin, [
986+ '--no-config',
987+ '--no-ignore',
988+ '--use',
989+ '../..=repository:false',
990+ '--use',
991+ '../sort',
992+ 'external.md'
993+ ]).then(function(result) {
994+ st.equal(
995+ strip(result.stderr),
996+ 'external.md: no issues found',
977997 'should report'
978998 )
979999 }, st.error)