Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update link to t.throws() assertion in AVA output
Fixes #2007.
  • Loading branch information
astrob0t authored and novemberborn committed Jan 11, 2019
1 parent f4b2d19 commit dc552bc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/reporters/improper-usage-messages.js
Expand Up @@ -15,7 +15,7 @@ exports.forError = error => {
Visit the following URL for more details:
${chalk.blue.underline(`https://github.com/avajs/ava/blob/v${pkg.version}/readme.md#throwsthrower-expected-message`)}`;
${chalk.blue.underline(`https://github.com/avajs/ava/blob/v${pkg.version}/docs/03-assertions.md#throwsfn-expected-message`)}`;
}

if (assertion === 'snapshot') {
Expand Down
4 changes: 2 additions & 2 deletions test/reporters/mini.regular.log
Expand Up @@ -209,7 +209,7 @@ stderr

Visit the following URL for more details:

https://github.com/avajs/ava/blob/v1.0.0-beta.5.1/readme.md#throwsthrower-expected-message
https://github.com/avajs/ava/blob/v1.0.0-beta.5.1/docs/03-assertions.md#throwsfn-expected-message

fn (test.js:35:9)
fn (test.js:38:11)
Expand Down Expand Up @@ -238,7 +238,7 @@ stderr

Visit the following URL for more details:

https://github.com/avajs/ava/blob/v1.0.0-beta.5.1/readme.md#throwsthrower-expected-message
https://github.com/avajs/ava/blob/v1.0.0-beta.5.1/docs/03-assertions.md#throwsfn-expected-message

fn (test.js:43:9)
fn (test.js:46:14)
Expand Down
4 changes: 2 additions & 2 deletions test/reporters/verbose.regular.log
Expand Up @@ -179,7 +179,7 @@ stderr

Visit the following URL for more details:

https://github.com/avajs/ava/blob/v1.0.0-beta.5.1/readme.md#throwsthrower-expected-message
https://github.com/avajs/ava/blob/v1.0.0-beta.5.1/docs/03-assertions.md#throwsfn-expected-message

fn (test.js:35:9)
fn (test.js:38:11)
Expand Down Expand Up @@ -208,7 +208,7 @@ stderr

Visit the following URL for more details:

https://github.com/avajs/ava/blob/v1.0.0-beta.5.1/readme.md#throwsthrower-expected-message
https://github.com/avajs/ava/blob/v1.0.0-beta.5.1/docs/03-assertions.md#throwsfn-expected-message

fn (test.js:43:9)
fn (test.js:46:14)
Expand Down

0 comments on commit dc552bc

Please sign in to comment.