diff --git a/docs/api/expect.md b/docs/api/expect.md index 2c1e18ae7..4df79eb95 100644 --- a/docs/api/expect.md +++ b/docs/api/expect.md @@ -528,7 +528,7 @@ Differences from [`.toEqual`](#toequal): - Keys with `undefined` properties are checked. e.g. `{a: undefined, b: 2}` does not match `{b: 2}` when using `.toStrictEqual`. - Array sparseness is checked. e.g. `[, 1]` does not match `[undefined, 1]` when using `.toStrictEqual`. -- Object types are checked to be equal. e.g. A class instance with fields `a` and` b` will not equal a literal object with fields `a` and `b`. +- Object types are checked to be equal. e.g. A class instance with fields `a` and `b` will not equal a literal object with fields `a` and `b`. ```ts import { expect, test } from 'vitest'