hunk.code_window:   }).toThrow();
   });
   // test("dont short circuit on continuable errors", () => {
   //   const user = z
   //     .object({
   //       password: z.string().min(6),
  
hunk.labels: keep keep add keep keep keep keep
hunk.after_edit: test("strict error message", () => {
     const errorMsg = "Invalid object";
     const obj = z.object({ x: z.string() }).strict(errorMsg);
     const result = obj.safeParse({ x: "a", y: "b" });
     expect(result.success).toEqual(false);
     if (!result.success) {
       expect(result.error.issues[0].message).toEqual(errorMsg);
     }
   });
  
hunk.file_path: src/__tests__/error.test.ts
hunk.type: add
file: // @ts-ignore TS6133
  import { expect } from "https://deno.land/x/expect@v0.2.6/mod.ts";
  const test = Deno.test;
  
  import * as z from "../index.ts";
  
  test("object augmentation", () => {
    const Animal = z
      .object({
        species: z.string(),
      })
      .augment({
        population: z.number(),
      });
    // overwrites `species`
    const ModifiedAnimal = Animal.augment({
      species: z.array(z.string()),
    });
    ModifiedAnimal.parse({
      species: ["asd"],
      population: 1324,
    });
  
    const bad = () =>
      ModifiedAnimal.parse({
        species: "asdf",
        population: 1324,
      } as any);
    expect(bad).toThrow();
  });
  