From: Brandon L. Black Date: Sat, 14 Apr 2007 00:09:32 +0000 (+0000) Subject: fixed regex in t/76joins (was relying on a 5.8.8 bug that is fixed in bleadperl,... X-Git-Tag: v0.08010~168 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=11aada86a6a7e0b5a5f3baeb42a7429fe2021ee6;p=dbsrgits%2FDBIx-Class.git fixed regex in t/76joins (was relying on a 5.8.8 bug that is fixed in bleadperl, so this test was failing on bleadperl) --- diff --git a/t/76joins.t b/t/76joins.t index 405c726..bba33cb 100644 --- a/t/76joins.t +++ b/t/76joins.t @@ -105,7 +105,7 @@ my @j6 = ( [ { father => 'person' }, { 'father.person_id' => { '!=', '42' } }, ], [ { mother => 'person' }, { 'mother.person_id' => 'child.mother_id' } ], ); -$match = qr/^\QHASH reference arguments are not supported in JOINS - try using \"..." instead\E/; +$match = qr/^HASH reference arguments are not supported in JOINS - try using "\.\.\." instead/; eval { $sa->_recurse_from(@j6) }; like( $@, $match, 'join 6 (HASH reference for ON statement dies) ok' ); @@ -412,4 +412,4 @@ TODO: { local $TODO = 'fixing collapse in -current'; is_deeply( $prefetch_result, $nonpre_result, 'Compare 2 level prefetch result to non-prefetch result' ); -} \ No newline at end of file +}