X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=blobdiff_plain;f=t%2Fcount%2Fin_subquery.t;h=8f56d83895590dcd2aaf92f38cee06e3e1e209a7;hp=e4356404a8a5c283ad306861fd86efb1fc143568;hb=f54428abf9cc7d7e5604745335694eaf558f6820;hpb=494b5561c3df99acd3b52a8ad320669b93b7f90e diff --git a/t/count/in_subquery.t b/t/count/in_subquery.t index e435640..8f56d83 100644 --- a/t/count/in_subquery.t +++ b/t/count/in_subquery.t @@ -1,12 +1,8 @@ -#!/usr/bin/perl - use strict; use warnings; use Test::More; -plan ( tests => 1 ); - use lib qw(t/lib); use DBICTest; use DBIC::SqlMakerTest; @@ -22,3 +18,5 @@ my $schema = DBICTest->init_schema(); my $subsel_rs = $schema->resultset("CD")->search( { cdid => { IN => $squery } } ); is($subsel_rs->count, $rs->count, 'Subselect on PK got the same row count'); } + +done_testing;