Skip to content

Commit 005bd03

Browse files
committed
Update proof solution
1 parent 94576a6 commit 005bd03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/practice/phone-number/.meta/proof.ci.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ export const clean = (number) => {
1717
}
1818

1919
if (numberLength < 10) {
20-
throw new Error('Incorrect number of digits');
20+
throw new Error('Must not be fewer than 10 digits');
2121
}
2222

2323
if (numberLength > 11) {
24-
throw new Error('More than 11 digits');
24+
throw new Error('Must not be greater than 11 digits');
2525
}
2626

2727
if (strippedNumber.substring(0, 1) === '0') {

0 commit comments

Comments
 (0)