Skip to content

Commit 37cf32e

Browse files
author
Felipe Zimmerle
committed
Revert "verifyCC: Changes tests that seems to be wrong"
This reverts commit 967a8a4.
1 parent 1cc267b commit 37cf32e

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

operators/verifyCC.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -374,9 +374,8 @@
374374
"param" : "(?:^|[^\\d])(\\d+)(?:[^\\d]|$)",
375375
"input" : "1234567890012345",
376376
"type" : "op",
377-
"ret" : 1,
378-
"name" : "verifyCC",
379-
"comment" : "originally this test case was expecting 0 but i guess that is the wrong answer, changing it..."
377+
"ret" : 0,
378+
"name" : "verifyCC"
380379
},
381380
{
382381
"name" : "verifyCC",
@@ -438,9 +437,8 @@
438437
"param" : "(?:^|[^\\d])(\\d{4}\\-?\\d{4}\\-?\\d{2}\\-?\\d{2}\\-?\\d{1,4})(?:[^\\d]|$)",
439438
"input" : "5484605089158217",
440439
"name" : "verifyCC",
441-
"ret" : 1,
442-
"type" : "op",
443-
"comment" : "originally this test case was expecting 0 but i guess that is the wrong answer, changing it..."
440+
"ret" : 0,
441+
"type" : "op"
444442
},
445443
{
446444
"input" : "5574407071807154",
@@ -467,9 +465,8 @@
467465
"input" : "15484605089158216",
468466
"param" : "(?:^|[^\\d])(\\d{4}\\-?\\d{4}\\-?\\d{2}\\-?\\d{2}\\-?\\d{1,4})(?:[^\\d]|$)",
469467
"name" : "verifyCC",
470-
"ret" : 1,
471-
"type" : "op",
472-
"comment" : "originally this test case was expecting 0 but i guess that is the wrong answer, changing it..."
468+
"ret" : 0,
469+
"type" : "op"
473470
},
474471
{
475472
"type" : "op",

0 commit comments

Comments
 (0)