diff --git a/src/bridge/jasmin-bridge/JasminBridge.ts b/src/bridge/jasmin-bridge/JasminBridge.ts index bb941fd..ae45bbb 100644 --- a/src/bridge/jasmin-bridge/JasminBridge.ts +++ b/src/bridge/jasmin-bridge/JasminBridge.ts @@ -57,8 +57,9 @@ export class JasminBridge { constructor() { const rawLines = readFileSync(resolve(cwd, "makeref")).toString().split("\n"); - const matchGroups = rawLines[0].match(/fn (?\w+) \((?(reg u64 [\w.]+,? ?)+)\) -> \(\) {/) - ?.groups; + const matchGroups = rawLines[0].match( + /fn (?\w+) \((?(reg u64 [\w.]+,? ?)+)\) -> \(\) {/, + )?.groups; if (!matchGroups) { throw new Error("unsupported function signature"); } diff --git a/test/RegisterAllocator.class.ts b/test/RegisterAllocator.class.ts index 2db14b8..6f2ba9c 100644 --- a/test/RegisterAllocator.class.ts +++ b/test/RegisterAllocator.class.ts @@ -15,7 +15,7 @@ */ /* eslint-disable @typescript-eslint/no-explicit-any */ - + import { afterAll, describe, expect, it, vi } from "vitest"; import { diff --git a/test/bitcoin-core-bridge/helpers.ts b/test/bitcoin-core-bridge/helpers.ts index 874d239..534e54e 100644 --- a/test/bitcoin-core-bridge/helpers.ts +++ b/test/bitcoin-core-bridge/helpers.ts @@ -14,7 +14,6 @@ * limitations under the License. */ - import { describe, expect, it } from "vitest"; import { getArguments, getScalarsAndImmMappedAsConstArg } from "@/bridge/bitcoin-core-bridge/helpers"; diff --git a/test/helpers/helpers.ts b/test/helpers/helpers.ts index 3b0f94d..fcaf457 100644 --- a/test/helpers/helpers.ts +++ b/test/helpers/helpers.ts @@ -14,7 +14,6 @@ * limitations under the License. */ - import { describe, expect, it } from "vitest"; import { C_DI_SPILL_LOCATION, DECISION_IDENTIFIER } from "@/enums"; diff --git a/test/instructionGeneration/bitwiseOps.ts b/test/instructionGeneration/bitwiseOps.ts index fa54521..7884a19 100644 --- a/test/instructionGeneration/bitwiseOps.ts +++ b/test/instructionGeneration/bitwiseOps.ts @@ -14,7 +14,6 @@ * limitations under the License. */ - import type { SpyInstance } from "vitest"; import { afterAll, beforeAll, beforeEach, describe, expect, it, vi } from "vitest"; diff --git a/test/instructionGeneration/cmp.ts b/test/instructionGeneration/cmp.ts index 31c9caa..2a45df9 100644 --- a/test/instructionGeneration/cmp.ts +++ b/test/instructionGeneration/cmp.ts @@ -14,7 +14,6 @@ * limitations under the License. */ - import { defaults } from "lodash-es"; import { describe, expect, it, vi } from "vitest"; diff --git a/test/instructionGeneration/limb.ts b/test/instructionGeneration/limb.ts index 895a19c..3783a74 100644 --- a/test/instructionGeneration/limb.ts +++ b/test/instructionGeneration/limb.ts @@ -14,7 +14,6 @@ * limitations under the License. */ - import { describe, expect, it, vi } from "vitest"; import { AllocationFlags, C_DI_SPILL_LOCATION, DECISION_IDENTIFIER, Flags, Register } from "@/enums"; diff --git a/test/instructionGeneration/mov.ts b/test/instructionGeneration/mov.ts index 43a1a7a..18a9182 100644 --- a/test/instructionGeneration/mov.ts +++ b/test/instructionGeneration/mov.ts @@ -14,7 +14,6 @@ * limitations under the License. */ - import { describe, expect, it, vi } from "vitest"; import { AllocationFlags, C_DI_SPILL_LOCATION, DECISION_IDENTIFIER, Register, XmmRegister } from "@/enums"; diff --git a/test/instructionGeneration/multiplication.ts b/test/instructionGeneration/multiplication.ts index df46e32..a462a06 100644 --- a/test/instructionGeneration/multiplication.ts +++ b/test/instructionGeneration/multiplication.ts @@ -14,7 +14,6 @@ * limitations under the License. */ - import { afterAll, beforeEach, describe, expect, it, vi } from "vitest"; import { AllocationFlags, C_DI_SPILL_LOCATION, DECISION_IDENTIFIER, Register } from "@/enums"; diff --git a/test/instructionGeneration/multiplication_byte.ts b/test/instructionGeneration/multiplication_byte.ts index 44afe1e..f2bb19b 100644 --- a/test/instructionGeneration/multiplication_byte.ts +++ b/test/instructionGeneration/multiplication_byte.ts @@ -14,7 +14,6 @@ * limitations under the License. */ - import { beforeEach, describe, expect, it, vi } from "vitest"; import { AllocationFlags, ByteRegister, C_DI_SPILL_LOCATION, DECISION_IDENTIFIER, Register } from "@/enums"; diff --git a/test/instructionGeneration/multiplication_imm.ts b/test/instructionGeneration/multiplication_imm.ts index a96afa9..b2f8cc8 100644 --- a/test/instructionGeneration/multiplication_imm.ts +++ b/test/instructionGeneration/multiplication_imm.ts @@ -14,7 +14,6 @@ * limitations under the License. */ - import { describe, expect, it, vi } from "vitest"; import { diff --git a/test/instructionGeneration/shift.ts b/test/instructionGeneration/shift.ts index 4b16258..48f9223 100644 --- a/test/instructionGeneration/shift.ts +++ b/test/instructionGeneration/shift.ts @@ -14,7 +14,6 @@ * limitations under the License. */ - import { describe, expect, it, vi } from "vitest"; import { AllocationFlags, C_DI_SPILL_LOCATION, DECISION_IDENTIFIER, Register } from "@/enums"; diff --git a/test/model.helper.ts b/test/model.helper.ts index 934be82..a61ffed 100644 --- a/test/model.helper.ts +++ b/test/model.helper.ts @@ -14,7 +14,6 @@ * limitations under the License. */ - import { describe, expect, it } from "vitest"; import { createDependencyRelation, nodeLookupMap } from "@/model";