Skip to content

Commit cd09334

Browse files
committed
removed unnecessary escapes
1 parent 006b3d4 commit cd09334

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/zod.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ describe('zod', () => {
305305
);
306306
const wantContains = [
307307
'export function UserCreateInputSchema(): z.ZodObject<Properties<UserCreateInput>>',
308-
'profile: z.string().min(1, \"Please input more than 1\").max(5000, \"Please input less than 5000\").nullish()',
308+
'profile: z.string().min(1, "Please input more than 1").max(5000, "Please input less than 5000").nullish()',
309309
];
310310
for (const wantContain of wantContains) {
311311
expect(result.content).toContain(wantContain);
@@ -335,7 +335,7 @@ describe('zod', () => {
335335
);
336336
const wantContains = [
337337
'export function UserCreateInputSchema(): z.ZodObject<Properties<UserCreateInput>>',
338-
'profile: z.string().min(1, \"Please input more than 1\").max(5000, \"Please input less than 5000\")',
338+
'profile: z.string().min(1, "Please input more than 1").max(5000, "Please input less than 5000")',
339339
];
340340
for (const wantContain of wantContains) {
341341
expect(result.content).toContain(wantContain);

0 commit comments

Comments
 (0)