From: Daniel Ruoso Date: Fri, 20 Aug 2010 14:34:44 +0000 (-0300) Subject: kills test that wrongfully expects sqla to die with hash in joins X-Git-Tag: v0.08190~1^2~18 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6425b0a4689fa40e7bfc033c05a46b39b24a759a;hp=edcecdbbc22b3b819dfab5ac62ff65fd5cf6d9d1;p=dbsrgits%2FDBIx-Class.git kills test that wrongfully expects sqla to die with hash in joins --- diff --git a/t/76joins.t b/t/76joins.t index 88749b4..a110ec2 100644 --- a/t/76joins.t +++ b/t/76joins.t @@ -100,15 +100,6 @@ is_same_sql( 'join 5 (SCALAR reference for ON statement) ok' ); -my @j6 = ( - { child => 'person' }, - [ { father => 'person' }, { 'father.person_id' => { '!=', '42' } }, ], - [ { mother => 'person' }, { 'mother.person_id' => 'child.mother_id' } ], -); -$match = qr/HASH reference arguments are not supported in JOINS/; -eval { $sa->_recurse_from(@j6) }; -like( $@, $match, 'join 6 (HASH reference for ON statement dies) ok' ); - my $rs = $schema->resultset("CD")->search( { 'year' => 2001, 'artist.name' => 'Caterwauler McCrae' }, { from => [ { 'me' => 'cd' },