@@ -2,8 +2,8 @@
22 * @author Titus Wormer
33 * @copyright 2015 Titus Wormer
44 * @license MIT
5− * @module mdast:validate-links:test
6− * @fileoverview Test suite for `mdast-validate-links`.
5+ * @module remark:validate-links:test
6+ * @fileoverview Test suite for `remark-validate-links`.
77 */
88
99'use strict';
@@ -64,7 +64,7 @@ function test(config, callback) {
6464 * Tests.
6565 */
6666
67−describe('mdast-validate-links', function () {
67+describe('remark-validate-links', function () {
6868 beforeEach(function () {
6969 process.chdir('./test/fixtures');
7070 });
@@ -76,7 +76,7 @@ describe('mdast-validate-links', function () {
7676 it('should throw an error when not on the CLI', function () {
7777 assert.throws(function () {
7878 mdast().use(links);
79− }, /Error: mdast-validate-links only works on the CLI/);
79+ }, /Error: remark-validate-links only works on the CLI/);
8080 });
8181
8282 it('should warn when used without slugs', function (done) {
@@ -92,7 +92,7 @@ describe('mdast-validate-links', function () {
9292 equal(res.stderr.split('\n').slice(0, 2).join('\n'), [
9393 'example.md',
9494 ' 1:1 error Error: Missing slugs. Use for ' +
95− 'example `mdast-slug` to generate heading IDs'
95+ 'example `remark-slug` to generate heading IDs'
9696 ].join('\n'));
9797
9898 done(err);
@@ -106,7 +106,7 @@ describe('mdast-validate-links', function () {
106106 'detectRC': false,
107107 'detectIgnore': false,
108108 'plugins': [
109− '../../../node_modules/mdast-slug',
109+ '../../../node_modules/remark-slug',
110110 '../../../index.js'
111111 ]
112112 }, function (err, res) {
@@ -134,7 +134,7 @@ describe('mdast-validate-links', function () {
134134 'detectRC': false,
135135 'detectIgnore': false,
136136 'plugins': [
137− '../../../node_modules/mdast-slug',
137+ '../../../node_modules/remark-slug',
138138 '../../../index.js'
139139 ]
140140 }, function (err, res) {
@@ -176,7 +176,7 @@ describe('mdast-validate-links', function () {
176176 'detectRC': false,
177177 'detectIgnore': false,
178178 'plugins': [
179− '../../../node_modules/mdast-slug',
179+ '../../../node_modules/remark-slug',
180180 '../../../index.js'
181181 ]
182182 }, function (err, res) {
@@ -229,7 +229,7 @@ describe('mdast-validate-links', function () {
229229 'detectRC': false,
230230 'detectIgnore': false,
231231 'plugins': [
232− '../../../node_modules/mdast-slug',
232+ '../../../node_modules/remark-slug',
233233 '../../../index.js'
234234 ]
235235 }, function (err, res) {
@@ -255,7 +255,7 @@ describe('mdast-validate-links', function () {
255255 'detectRC': false,
256256 'detectIgnore': false,
257257 'plugins': {
258− '../../../node_modules/mdast-slug': null,
258+ '../../../node_modules/remark-slug': null,
259259 '../../../index.js': {
260260 'repository': 'wooorm/test'
261261 }
@@ -350,7 +350,7 @@ describe('mdast-validate-links', function () {
350350 'detectRC': false,
351351 'detectIgnore': false,
352352 'plugins': [
353− '../../../node_modules/mdast-slug',
353+ '../../../node_modules/remark-slug',
354354 '../../../index.js'
355355 ]
356356 }, function (err, res) {
@@ -436,7 +436,7 @@ describe('mdast-validate-links', function () {
436436 'detectRC': false,
437437 'detectIgnore': false,
438438 'plugins': [
439− '../../../node_modules/mdast-slug',
439+ '../../../node_modules/remark-slug',
440440 '../../../index.js'
441441 ]
442442 }, function (err, res) {