Skip to content

Commit

Permalink
Merge pull request #5 from paultcochrane/pr/fix-lives-ok
Browse files Browse the repository at this point in the history
Replace lives_ok with kebab-case version
  • Loading branch information
moritz committed Jun 12, 2015
2 parents ed4addb + 8ba64c7 commit b45773b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/basic.t
Expand Up @@ -4,7 +4,7 @@ use Test;
use Math::Model;

my $m;
lives_ok {
lives-ok {
$m = Math::Model.new(
derivatives => {
a => 'b',
Expand All @@ -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<time>[0], 0, 'time starts at 0';
Expand Down

0 comments on commit b45773b

Please sign in to comment.