File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ const uppercaseLatin = `Chris de Almeida (CDA)\nRob Palmer (ç«„)\nUjjwal Sharma
7
7
const twoLetter = `Chris de Almeida (CDA)\nRob Palmer (RP)\nUjjwal Sharma (USA)` ;
8
8
const threeLetter = `Chris de Almeida (CDA)\nRob Palmer (ROBPALMER)\nUjjwal Sharma (USA)` ;
9
9
const duplicate = `Chris de Almeida (CDA)\nRob Palmer (RPR)\nUjjwal Sharma (USA)\nUjjwal Sharma (USA)` ;
10
- const valid = `Chris de Almeida (CDA)\nRob Palmer (RPR)\nUjjwal Sharma (USA)` ;
10
+ const valid = `Chris de Almeida (CDA)\nMichael Ficarra (MF)\ nRob Palmer (RPR)\nUjjwal Sharma (USA)` ;
11
11
12
- assert . throws ( ( ) => checkDelegates ( lex ) , { message : / N o t i n l e x i c o g r a p h i c o r d e r / } ) ;
12
+ assert . throws ( ( ) => checkDelegates ( lex ) , { message : 'Line 3: Not in lexicographic order.' } ) ; // also validates expected line number
13
13
assert . throws ( ( ) => checkDelegates ( missing ) , { message : / M i s s i n g a b b r e v i a t i o n f o r / } ) ;
14
14
assert . throws ( ( ) => checkDelegates ( uppercaseLatin ) , { message : / A b b r e v i a t i o n s m u s t b e a l l u p p e r c a s e L a t i n l e t t e r s / } ) ;
15
15
assert . throws ( ( ) => checkDelegates ( twoLetter ) , { message : / n o t i n a l l o w l i s t . N e w d e l e g a t e a b b r e v i a t i o n s m u s t b e t h r e e l e t t e r s / } ) ;
You can’t perform that action at this time.
0 commit comments