We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94576a6 commit 005bd03Copy full SHA for 005bd03
exercises/practice/phone-number/.meta/proof.ci.js
@@ -17,11 +17,11 @@ export const clean = (number) => {
17
}
18
19
if (numberLength < 10) {
20
- throw new Error('Incorrect number of digits');
+ throw new Error('Must not be fewer than 10 digits');
21
22
23
if (numberLength > 11) {
24
- throw new Error('More than 11 digits');
+ throw new Error('Must not be greater than 11 digits');
25
26
27
if (strippedNumber.substring(0, 1) === '0') {
0 commit comments