Skip to content

Commit 1f4d0b2

Browse files
authored
docs(expect): fix typo on objectContaining example (#6357)
1 parent 8e64d00 commit 1f4d0b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

expect/expect.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ expect.assertions = assertions as (num: number) => void;
545545
* import { expect } from "@std/expect";
546546
*
547547
* Deno.test("example", () => {
548-
* expect({ bar: 'baz' }).toEqual(expect.objectContaining({ bar: 'bar'}));
548+
* expect({ bar: 'baz' }).toEqual(expect.objectContaining({ bar: 'baz'}));
549549
* expect({ bar: 'baz' }).not.toEqual(expect.objectContaining({ foo: 'bar'}));
550550
* });
551551
* ```

0 commit comments

Comments
 (0)