Skip to content

Commit 64d6faa

Browse files
authoredNov 18, 2022
Docs: Add missing word (#266)
`This test is going pass` -> `This test is going to pass`
1 parent 3ba3eb7 commit 64d6faa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/rules/no-assert-ok.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ test('test myFunc returns a truthy value', (assert) => {
1212
});
1313
```
1414

15-
Here by mistake a developer just passed to `assert.ok` a pointer to `myFunc` instead of explicitly calling it. This test is going pass no matter how `myFunc` changes. Using `assert.strictEqual(myFunc, theReturnValue)` solves the problem as this becomes an explicit check for equality.
15+
Here by mistake a developer just passed to `assert.ok` a pointer to `myFunc` instead of explicitly calling it. This test is going to pass no matter how `myFunc` changes. Using `assert.strictEqual(myFunc, theReturnValue)` solves the problem as this becomes an explicit check for equality.
1616

1717
## Rule Details
1818

0 commit comments

Comments
 (0)
Please sign in to comment.