Skip to content

Commit

Permalink
Merge pull request #22 from koterpillar/patch-1
Browse files Browse the repository at this point in the history
Grammar fix
  • Loading branch information
koterpillar committed Jan 24, 2024
2 parents 85853ed + 9f60945 commit 8007285
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/matcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function toMatchError(

if (!this.equals(expected.publicFields, got.publicFields)) {
diff.push(
"Error public fields is not the same:",
"Error public fields are not the same:",
this.utils.diff(expected.publicFields, got.publicFields) as string
);
}
Expand Down
2 changes: 1 addition & 1 deletion test/matcher.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe("matcher", () => {
new SpecificError("test", false)
);
}).toThrowErrorMatchingInlineSnapshot(`
"Error public fields is not the same:
"Error public fields are not the same:
- Expected
+ Received
Expand Down

0 comments on commit 8007285

Please sign in to comment.