Skip to content

Commit 9a01b08

Browse files
committed
Formatted
1 parent 45babda commit 9a01b08

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/lib/swissStandards.spec.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ describe("Swiss standards test", () => {
2727
["756.1234.5678.91", false],
2828
["test756.9217.0769.85", false],
2929
["7.56..9217...0769.85", false],
30-
])("check if the social insurance number is valid or not", (ahvNumber, expected) => {
31-
expect(isValidSwissSocialInsuranceNumber(ahvNumber)).toBe(expected);
30+
])("check if the social insurance number is valid or not", (swissSocialInsuranceNumber, expected) => {
31+
expect(isValidSwissSocialInsuranceNumber(swissSocialInsuranceNumber)).toBe(expected);
3232
});
3333

3434
test.each([
@@ -45,6 +45,5 @@ describe("Swiss standards test", () => {
4545

4646
expect(result.ibanNumber).toBe(expectedIbanNumber);
4747
expect(result.isValidSwissIbanNumber).toBe(expectedIsValid);
48-
expect(isValidSwissSocialInsuranceNumber(ahvNumber)).toBe(expected);
4948
});
5049
});

0 commit comments

Comments
 (0)