Some cosmetic fixes in ANFANG
[dbsrgits/DBIx-Class.git] / t / sqlmaker / sqlite.t
CommitLineData
c0329273 1BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
2
09cedb88 3use strict;
4use warnings;
5
6use Test::More;
c0329273 7
a5a7bb73 8use DBICTest ':DiffSQL';
09cedb88 9
10my $schema = DBICTest->init_schema;
11
12is_same_sql_bind(
dbc2b0e8 13 $schema->resultset('Artist')->search ({}, {for => 'update'})->as_query,
14 '(SELECT me.artistid, me.name, me.rank, me.charfield FROM artist me)', [],
15);
09cedb88 16
17done_testing;