Skip Menu |

This queue is for tickets about the JSON-Schema CPAN distribution.

Report information
The Basics
Id: 97666
Status: resolved
Priority: 0/
Queue: JSON-Schema

People
Owner: Nobody in particular
Requestors: kaoru [...] slackwise.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.015
Fixed in: (no value)



Subject: Smart match is deprecated
$ prove -lv t/rt-76944.t t/rt-76944.t .. 1..1 Smartmatch is experimental at /home/alex/Documents/Git/p5-json-schema/lib/JSON/Schema/Helper.pm line 294. ok 1 ok All tests successful. Files=1, Tests=1, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.06 cusr 0.00 csys = 0.08 CPU) Result: PASS =========== Pull Request incoming from https://bitbucket.org/kaokun/p5-json-schema :-)
On Fri Aug 01 06:24:09 2014, KAORU wrote: Show quoted text
> Pull Request incoming from https://bitbucket.org/kaokun/p5-json-schema > :-)
https://bitbucket.org/tobyink/p5-json-schema/pull-request/2/removed-use-of-smart-match-for-format/diff alex@kyon:~/Documents/Git/p5-json-schema$ prove -lr t t/01basic.t ..... ok t/02integer.t ... ok t/03required.t .. ok t/04format.t .... ok t/05union.t ..... ok t/06lengths.t ... ok t/07enum.t ...... ok t/rt-76892.t .... ok t/rt-76944.t .... ok All tests successful. Files=9, Tests=53, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.60 cusr 0.05 csys = 0.70 CPU) Result: PASS alex@kyon:~/Documents/Git/p5-json-schema$ prove -lr xt xt/01pod.t ............ ok xt/02pod_coverage.t ... ok xt/03meta_uptodate.t .. ok xt/04eol.t ............ ok All tests successful. Files=4, Tests=28, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.69 cusr 0.05 csys = 0.77 CPU) Result: PASS - Alex
Apologies for taking a while to address this. I've replaced smartmatch with match::simple in JSON-Schema-0.016.