Skip to content

Commit 8cda05c

Browse files
test: add test cases to cover parsing of long numerals
closes winkjs/wink-eng-lite-model#5
1 parent 79f5fe5 commit 8cda05c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
48 Bytes
Binary file not shown.

test/wink-nlp-specs.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ describe( 'wink-nlp test-coverage and basic behavior', function () {
103103
'S.K.Saxena.Server-less computing is awesome. ',
104104
'Mr.S.K. Saxena ',
105105
// aaa.-bbb causes `[ 'aaa', '.', '', '-', 'bbb' ]`
106-
'aaa.-bbb'
106+
'aaa.-bbb ',
107+
// To text buggy regex for numerals
108+
'138375720109463900845220131105025504431resources094639008452'
107109
].join( '' );
108110

109111
var moreThanMaxSpaces = [

0 commit comments

Comments
 (0)