Fix proper handling of composite resultset heads (e.g. as_subselect_rs)
[dbsrgits/DBIx-Class.git] / t / resultset / is_paged.t
index c40adb7..4f6af63 100644 (file)
@@ -1,19 +1,17 @@
-use strict;\r
-use warnings;\r
-\r
-use lib qw(t/lib);\r
-use Test::More;\r
-use Test::Exception;\r
-use DBICTest;\r
-\r
-my $schema = DBICTest->init_schema();\r
-\r
-my $tkfks = $schema->resultset('Artist');\r
-\r
-ok !$tkfks->is_paged, 'vanilla resultset is not paginated';\r
-\r
-my $paginated = $tkfks->search(undef, { page => 5 });\r
-ok $paginated->is_paged, 'resultset is paginated now';\r
-\r
-done_testing;\r
-\r
+use strict;
+use warnings;
+
+use lib qw(t/lib);
+use Test::More;
+use DBICTest;
+
+my $schema = DBICTest->init_schema();
+
+my $tkfks = $schema->resultset('Artist');
+
+ok !$tkfks->is_paged, 'vanilla resultset is not paginated';
+
+my $paginated = $tkfks->search(undef, { page => 5 });
+ok $paginated->is_paged, 'resultset is paginated now';
+
+done_testing;