From 3d4475bc048bb87b66dc31760cf24ec6107f17e0 Mon Sep 17 00:00:00 2001 From: David Cook Date: Wed, 5 Jun 2024 12:45:50 -0500 Subject: [PATCH] Roll back line break --- packages/prg/src/index.spec.ts | 3 +-- packages/prio3/src/prio3.spec.ts | 9 +++------ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/packages/prg/src/index.spec.ts b/packages/prg/src/index.spec.ts index 6f913f8d5..90f57cced 100644 --- a/packages/prg/src/index.spec.ts +++ b/packages/prg/src/index.spec.ts @@ -1,8 +1,7 @@ import { assert } from "chai"; import { PrgSha3 } from "./index.js"; import { Field128, Field64 } from "@divviup/field"; -import PrgSha3TestVector from "./testVectors/PrgSha3.json" assert { type: - "json" }; +import PrgSha3TestVector from "./testVectors/PrgSha3.json" assert { type: "json" }; function assertBuffersEqual(x: Uint8Array, y: Uint8Array) { assert.equal(Buffer.from(x).toString("hex"), Buffer.from(y).toString("hex")); diff --git a/packages/prio3/src/prio3.spec.ts b/packages/prio3/src/prio3.spec.ts index b736c531b..f6dc7308e 100644 --- a/packages/prio3/src/prio3.spec.ts +++ b/packages/prio3/src/prio3.spec.ts @@ -5,12 +5,9 @@ import { TestFlp128 } from "./flp.spec.js"; import { PrgSha3 } from "@divviup/prg"; import type { TestVector } from "@divviup/vdaf"; import { arr } from "@divviup/common"; -import countTestVector0 from "./testVectors/Prio3Count_0.json" assert { type: - "json" }; -import histogramTestVector0 from "./testVectors/Prio3Histogram_0.json" assert { type: - "json" }; -import sumTestVector0 from "./testVectors/Prio3Sum_0.json" assert { type: - "json" }; +import countTestVector0 from "./testVectors/Prio3Count_0.json" assert { type: "json" }; +import histogramTestVector0 from "./testVectors/Prio3Histogram_0.json" assert { type: "json" }; +import sumTestVector0 from "./testVectors/Prio3Sum_0.json" assert { type: "json" }; describe("prio3 vdaf", () => { it("test flp", async () => {