Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin McDonnell committed Nov 15, 2022
1 parent 4e42ee3 commit 6ce18f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno/lib/__tests__/error.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ test("formatting with nullable and optional fields", () => {
expect(error.optionalTuple?.[0]?._errors).toEqual(["Invalid input"]);
expect(error.optionalTuple?.[1]?._errors).toEqual(["Invalid input"]);
}
})
});

const stringWithCustomError = z.string({
errorMap: (issue, ctx) => ({
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/error.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ test("formatting with nullable and optional fields", () => {
expect(error.optionalTuple?.[0]?._errors).toEqual(["Invalid input"]);
expect(error.optionalTuple?.[1]?._errors).toEqual(["Invalid input"]);
}
})
});

const stringWithCustomError = z.string({
errorMap: (issue, ctx) => ({
Expand Down

0 comments on commit 6ce18f3

Please sign in to comment.