Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mllwchrry committed Aug 19, 2024
1 parent fbe1601 commit 272a9a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/CircuitZKit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ describe("CircuitZKit", () => {
expect(CircuitZKit.getTemplate("groth16", "vy")).to.be.eq(fs.readFileSync(groth16TemplatePath, "utf-8"));
});

it("should get exception if pass invalid template type", async () => {
it("should get exception if pass invalid proving system", async () => {
const circuitZKit: any = CircuitZKit;

const invalidTemplate = "fflonk";

expect(function () {
circuitZKit.getTemplate(invalidTemplate, "sol");
}).to.throw(`Ambiguous template type: ${invalidTemplate}.`);
}).to.throw(`Ambiguous proving system: ${invalidTemplate}.`);
});
});

Expand Down

0 comments on commit 272a9a4

Please sign in to comment.