tracks/perl6/exercises/phone-number/phone-number.t in trackler-2.1.0.9 vs tracks/perl6/exercises/phone-number/phone-number.t in trackler-2.1.0.10

- old
+ new

@@ -3,13 +3,13 @@ use Test; use lib my $dir = $?FILE.IO.dirname; use JSON::Tiny; my $exercise = 'Phone'; -my $version = v2; +my $version = v3; my $module = %*ENV<EXERCISM> ?? 'Example' !! $exercise; -plan 15; +plan 14; use-ok $module or bail-out; require ::($module); if ::($exercise).^ver !~~ $version { @@ -39,11 +39,11 @@ INIT { $c-data := from-json q:to/END/; { "exercise": "phone-number", - "version": "1.1.0", + "version": "1.2.0", "cases": [ { "description": "Cleanup user-entered phone numbers", "comments": [ " Returns the cleaned phone number if given number is valid, " @@ -107,15 +107,9 @@ }, { "description": "invalid with punctuations", "property": "clean", "phrase": "123-@:!-7890", - "expected": null - }, - { - "description": "invalid with right number of digits but letters mixed in", - "property": "clean", - "phrase": "1a2b3c4d5e6f7g8h9i0j", "expected": null }, { "description": "invalid if area code does not start with 2-9", "property": "clean",