@@ -13,20 +13,20 @@ var links = require('..')
1313
1414process.chdir(path.resolve(process.cwd(), 'test', 'fixtures'))
1515
16−test.onFinish(function() {
16+test.onFinish(function () {
1717 process.chdir(path.resolve(process.cwd(), '..', '..'))
1818})
1919
2020var bin = path.join('..', '..', 'node_modules', '.bin', 'remark')
2121
22−test('remark-validate-links', function(t) {
23− t.test('should work on the API', function(st) {
22+test('remark-validate-links', function (t) {
23+ t.test('should work on the API', function (st) {
2424 st.plan(1)
2525
2626 remark()
2727 .use(links)
2828 .use(sort)
29− .process(vfile.readSync('github.md'), function(err, file) {
29+ .process(vfile.readSync('github.md'), function (err, file) {
3030 st.deepEqual(
3131 [err].concat(file.messages.map(String)),
3232 [
@@ -42,7 +42,7 @@ test('remark-validate-links', function(t) {
4242 })
4343 })
4444
45− t.test('should ignore invalid repositories', function(st) {
45+ t.test('should ignore invalid repositories', function (st) {
4646 st.plan(1)
4747
4848 childProcess.exec(
@@ -77,7 +77,7 @@ test('remark-validate-links', function(t) {
7777 }
7878 })
7979
80− t.test('should throw on Gist repositories', function(st) {
80+ t.test('should throw on Gist repositories', function (st) {
8181 st.plan(1)
8282
8383 childProcess.exec(
@@ -112,7 +112,7 @@ test('remark-validate-links', function(t) {
112112 }
113113 })
114114
115− t.test('should ignore unfound files (#1)', function(st) {
115+ t.test('should ignore unfound files (#1)', function (st) {
116116 st.plan(1)
117117
118118 childProcess.exec(
@@ -147,7 +147,7 @@ test('remark-validate-links', function(t) {
147147 }
148148 })
149149
150− t.test('should ignore unfound files (#2)', function(st) {
150+ t.test('should ignore unfound files (#2)', function (st) {
151151 st.plan(1)
152152
153153 childProcess.exec(
@@ -186,7 +186,7 @@ test('remark-validate-links', function(t) {
186186 }
187187 })
188188
189− t.test('should work if there are no links', function(st) {
189+ t.test('should work if there are no links', function (st) {
190190 st.plan(1)
191191
192192 childProcess.exec(
@@ -212,7 +212,7 @@ test('remark-validate-links', function(t) {
212212 }
213213 })
214214
215− t.test('should work with stdin', function(st) {
215+ t.test('should work with stdin', function (st) {
216216 st.plan(1)
217217
218218 var subprocess = childProcess.exec(
@@ -248,7 +248,7 @@ test('remark-validate-links', function(t) {
248248 }
249249 })
250250
251− t.test('should work when not all files are given', function(st) {
251+ t.test('should work when not all files are given', function (st) {
252252 st.plan(1)
253253
254254 childProcess.exec(
@@ -291,7 +291,7 @@ test('remark-validate-links', function(t) {
291291 }
292292 })
293293
294− t.test('should work when all files are given', function(st) {
294+ t.test('should work when all files are given', function (st) {
295295 st.plan(1)
296296
297297 childProcess.exec(
@@ -342,7 +342,7 @@ test('remark-validate-links', function(t) {
342342 }
343343 })
344344
345− t.test('should work with definitions', function(st) {
345+ t.test('should work with definitions', function (st) {
346346 st.plan(1)
347347
348348 childProcess.exec(
@@ -377,7 +377,7 @@ test('remark-validate-links', function(t) {
377377 }
378378 })
379379
380− t.test('should work on GitHub URLs when given a repo', function(st) {
380+ t.test('should work on GitHub URLs when given a repo', function (st) {
381381 st.plan(1)
382382
383383 childProcess.exec(
@@ -445,7 +445,7 @@ test('remark-validate-links', function(t) {
445445 }
446446 })
447447
448− t.test('should work when with Git directory', function(st) {
448+ t.test('should work when with Git directory', function (st) {
449449 st.plan(1)
450450
451451 childProcess.exec('git init', oninit)
@@ -538,7 +538,7 @@ test('remark-validate-links', function(t) {
538538 }
539539 })
540540
541− t.test('should fail w/o Git repository', function(st) {
541+ t.test('should fail w/o Git repository', function (st) {
542542 st.plan(1)
543543
544544 fs.renameSync('../../.git', '../../.git.bak')
@@ -563,7 +563,7 @@ test('remark-validate-links', function(t) {
563563 }
564564 })
565565
566− t.test('should fail w/o Git repository w/o remote', function(st) {
566+ t.test('should fail w/o Git repository w/o remote', function (st) {
567567 st.plan(1)
568568
569569 childProcess.exec('git init', oninit)
@@ -592,7 +592,7 @@ test('remark-validate-links', function(t) {
592592 }
593593 })
594594
595− t.test('should work w/o Git repository w/ repo', function(st) {
595+ t.test('should work w/o Git repository w/ repo', function (st) {
596596 st.plan(1)
597597
598598 fs.renameSync('../../.git', '../../.git.bak')
@@ -630,7 +630,7 @@ test('remark-validate-links', function(t) {
630630 }
631631 })
632632
633− t.test('should work w/o Git repository w/ remote', function(st) {
633+ t.test('should work w/o Git repository w/ remote', function (st) {
634634 st.plan(1)
635635
636636 fs.renameSync('../../.git', '../../.git.bak')
@@ -666,7 +666,7 @@ test('remark-validate-links', function(t) {
666666 }
667667 })
668668
669− t.test('should work w/o Git repository w/ remote and root', function(st) {
669+ t.test('should work w/o Git repository w/ remote and root', function (st) {
670670 st.plan(1)
671671
672672 fs.renameSync('../../.git', '../../.git.bak')
@@ -702,7 +702,7 @@ test('remark-validate-links', function(t) {
702702 }
703703 })
704704
705− t.test('should work with `repository:false`', function(st) {
705+ t.test('should work with `repository:false`', function (st) {
706706 st.plan(1)
707707
708708 fs.renameSync('../../.git', '../../.git.bak')
@@ -757,7 +757,7 @@ test('remark-validate-links', function(t) {
757757 }
758758 })
759759
760− t.test('should work when finding non-hosted Git remotes', function(st) {
760+ t.test('should work when finding non-hosted Git remotes', function (st) {
761761 st.plan(1)
762762
763763 childProcess.exec(
@@ -792,7 +792,7 @@ test('remark-validate-links', function(t) {
792792 }
793793 })
794794
795− t.test('should support a GitLab shortcode', function(st) {
795+ t.test('should support a GitLab shortcode', function (st) {
796796 st.plan(1)
797797
798798 childProcess.exec(
@@ -843,7 +843,7 @@ test('remark-validate-links', function(t) {
843843 }
844844 })
845845
846− t.test('should support a Bitbucket shortcode', function(st) {
846+ t.test('should support a Bitbucket shortcode', function (st) {
847847 st.plan(1)
848848
849849 childProcess.exec(
@@ -894,7 +894,7 @@ test('remark-validate-links', function(t) {
894894 }
895895 })
896896
897− t.test('should suggest similar links', function(st) {
897+ t.test('should suggest similar links', function (st) {
898898 st.plan(1)
899899
900900 childProcess.exec(
@@ -930,7 +930,7 @@ test('remark-validate-links', function(t) {
930930 }
931931 })
932932
933− t.test('should recognise links to particular lines', function(st) {
933+ t.test('should recognise links to particular lines', function (st) {
934934 st.plan(1)
935935
936936 childProcess.exec(
@@ -966,7 +966,7 @@ test('remark-validate-links', function(t) {
966966 }
967967 })
968968
969− t.test('should recognise links with encoded URLs', function(st) {
969+ t.test('should recognise links with encoded URLs', function (st) {
970970 st.plan(1)
971971
972972 childProcess.exec(
@@ -1004,7 +1004,7 @@ test('remark-validate-links', function(t) {
10041004 }
10051005 })
10061006
1007− t.test('should support folders', function(st) {
1007+ t.test('should support folders', function (st) {
10081008 st.plan(1)
10091009
10101010 childProcess.exec(
@@ -1043,7 +1043,7 @@ test('remark-validate-links', function(t) {
10431043 }
10441044 })
10451045
1046− t.test('should check images', function(st) {
1046+ t.test('should check images', function (st) {
10471047 st.plan(1)
10481048
10491049 childProcess.exec(
@@ -1082,7 +1082,7 @@ test('remark-validate-links', function(t) {
10821082 }
10831083 })
10841084
1085− t.test('should support query parameters', function(st) {
1085+ t.test('should support query parameters', function (st) {
10861086 st.plan(1)
10871087
10881088 childProcess.exec(
@@ -1117,7 +1117,7 @@ test('remark-validate-links', function(t) {
11171117 }
11181118 })
11191119
1120− t.test('should support case insensitive headings', function(st) {
1120+ t.test('should support case insensitive headings', function (st) {
11211121 st.plan(1)
11221122
11231123 childProcess.exec(
@@ -1153,7 +1153,7 @@ test('remark-validate-links', function(t) {
11531153 }
11541154 })
11551155
1156− t.test('should ignore external links', function(st) {
1156+ t.test('should ignore external links', function (st) {
11571157 st.plan(1)
11581158
11591159 childProcess.exec(
@@ -1179,7 +1179,7 @@ test('remark-validate-links', function(t) {
11791179 }
11801180 })
11811181
1182− t.test('should ignore external links (without repo)', function(st) {
1182+ t.test('should ignore external links (without repo)', function (st) {
11831183 st.plan(1)
11841184
11851185 childProcess.exec(
@@ -1205,7 +1205,7 @@ test('remark-validate-links', function(t) {
12051205 }
12061206 })
12071207
1208− t.test('should support self-hosted Git solutions', function(st) {
1208+ t.test('should support self-hosted Git solutions', function (st) {
12091209 st.plan(1)
12101210
12111211 childProcess.exec('git init', oninit)