Skip to content

Commit

Permalink
test reported buggy personal ids
Browse files Browse the repository at this point in the history
  • Loading branch information
kub1x committed Jul 12, 2018
1 parent ee1cffc commit 14c3b92
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/rodnecislo.js
Expand Up @@ -124,3 +124,7 @@ test('rodne cislo enables +20 offset only for year >=2004', (t) => {
t.true(rodnecislo('222222/2222').isPossible());
});

test.only('rodne cislo is valid for reported numbers', (t) => {
t.true(rodnecislo('535517319').isValid());
t.true(rodnecislo('535325410').isValid());
});

0 comments on commit 14c3b92

Please sign in to comment.