-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Labels
Description
The following example seems wrong
mrz/src/parse/__tests__/td1.test.ts
Lines 96 to 100 in 7e817e3
| const MRZ = [ | |
| 'I<UTOD23145890<1240<XYZ<<<<<<<', | |
| '7408122F1204159UTO<<<<<<<<<<<8', | |
| 'ERIKSSON<<ANNA<MARIA<<<<<<<<<<', | |
| ]; |
While 1240 is correct and the 0 is the check digit, characters after the '<' (in this case XYZ) are not expected to be there.
We should add an example that fails (the current one) and a new one with the following MRZ
'I<UTOD23145890<1240<<<<<<<<<<<',
'7408122F1204159UTO<<<<<<<<<<<8',
'ERIKSSON<<ANNA<MARIA<<<<<<<<<<',
Reactions are currently unavailable