Skip to content

Commit

Permalink
docs: add missing apostrophes (#1344)
Browse files Browse the repository at this point in the history
  • Loading branch information
curtisgibby authored Jun 9, 2020
1 parent 41ff363 commit 2fb8983
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/chai/core/assertions.js
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ module.exports = function (chai, _) {
*
* Add `.not` earlier in the chain to negate `.arguments`. However, it's often
* best to assert which type the target is expected to be, rather than
* asserting that its not an `arguments` object.
* asserting that it’s not an `arguments` object.
*
* expect('foo').to.be.a('string'); // Recommended
* expect('foo').to.not.be.arguments; // Not recommended
Expand Down Expand Up @@ -1926,7 +1926,7 @@ module.exports = function (chai, _) {
* a `descriptor`. The problem is that it creates uncertain expectations by
* asserting that the target either doesn't have a property descriptor with
* the given key `name`, or that it does have a property descriptor with the
* given key `name` but its not deeply equal to the given `descriptor`. It's
* given key `name` but it’s not deeply equal to the given `descriptor`. It's
* often best to identify the exact output that's expected, and then write an
* assertion that only accepts that exact output.
*
Expand Down

0 comments on commit 2fb8983

Please sign in to comment.