From: John SJ Anderson Date: Wed, 16 Jan 2013 16:41:42 +0000 (-0800) Subject: Fix typo in t/46relationships_multi_m2m.t X-Git-Tag: 0.07034_01~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8c673265b0b2501338f811a5f1c3fb98f5c436b6;p=dbsrgits%2FDBIx-Class-Schema-Loader.git Fix typo in t/46relationships_multi_m2m.t s/twoes/twos/ --- diff --git a/t/46relationships_multi_m2m.t b/t/46relationships_multi_m2m.t index 3f1773c..f7afb6f 100644 --- a/t/46relationships_multi_m2m.t +++ b/t/46relationships_multi_m2m.t @@ -35,7 +35,7 @@ my $schema_counter = 0; "link_class"; like $args->{link_moniker}, qr/\AFooBar(?:One|Two)\z/, "link_moniker"; - like $args->{link_rel_name}, qr/\Afoo_bar_(?:ones|twoes)\z/, + like $args->{link_rel_name}, qr/\Afoo_bar_(?:ones|twos)\z/, "link_rel_name"; return $args->{name}."_".(split /_/, $args->{link_rel_name})[-1]; @@ -45,7 +45,7 @@ my $schema_counter = 0; foreach ([qw(Foo bars)], [qw(Bar foos)]) { my ($source, $rel) = @{$_}; my $row = $submap->resultset($source)->find(1); - foreach ([ones => 1], [twoes => 2]) { + foreach ([ones => 1], [twos => 2]) { my ($link, $count) = @{$_}; my $m2m = "${rel}_${link}"; can_ok $row, $m2m;