Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Oct 8, 2019
1 parent 5be519f commit 80a934b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/get-documents-url.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ test('returns the URL of the a named rule\'s documentation', t => {
});

test('determines the rule name from the file', t => {
const url = `/~https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v${pkg.version}/docs/rules/get-docs-url.md`;
const url = `/~https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v${pkg.version}/docs/rules/get-documents-url.md`;
t.is(getDocumentsUrl(__filename), url);
});

0 comments on commit 80a934b

Please sign in to comment.