From 8ba64c7d6718c978ad0b80d982d18621484599bb Mon Sep 17 00:00:00 2001 From: Paul Cochrane Date: Thu, 11 Jun 2015 13:29:02 +0200 Subject: [PATCH] Replace lives_ok with kebab-case version `lives_ok` has been deprecated in favour of `lives-ok`; the deprecated form will be removed in the 2015.09 Rakudo release. --- t/basic.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/basic.t b/t/basic.t index 52601ba..7342aed 100644 --- a/t/basic.t +++ b/t/basic.t @@ -4,7 +4,7 @@ use Test; use Math::Model; my $m; -lives_ok { +lives-ok { $m = Math::Model.new( derivatives => { a => 'b', @@ -20,7 +20,7 @@ lives_ok { }, 'can initialize a Math::Model'; my %res; -lives_ok { %res = $m.integrate(:from(0), :to(3)) }, 'can integrate the model'; +lives-ok { %res = $m.integrate(:from(0), :to(3)) }, 'can integrate the model'; diag "result: %res.perl()"; is %res