projects
/
dbsrgits/DBIx-Class-Historic.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Since .generated_pod is no longer shipped in-dist, move it to maint/
[dbsrgits/DBIx-Class-Historic.git]
/
t
/
search
/
void.t
1
use strict;
2
use warnings;
3
4
use Test::More;
5
use Test::Exception;
6
7
use lib qw(t/lib);
8
use DBICTest;
9
10
my $schema = DBICTest->init_schema(no_deploy => 1);
11
12
throws_ok {
13
$schema->resultset('Artist')->search
14
} qr/\Qsearch is *not* a mutator/, 'Proper exception on search in void ctx';
15
16
done_testing;