From: Matt S Trout Date: Wed, 3 Apr 2019 00:08:05 +0000 (+0000) Subject: clarify test X-Git-Tag: v1.90_01~262 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4661b01f3caaf50b69a6690556bef1d41e375ada;p=dbsrgits%2FSQL-Abstract.git clarify test --- diff --git a/t/08special_ops.t b/t/08special_ops.t index 6b97f96..c4b303e 100644 --- a/t/08special_ops.t +++ b/t/08special_ops.t @@ -86,12 +86,13 @@ my @tests = ( }, # Verify inconsistent behaviour from DBIx::Class:SQLMaker::Oracle works + # (unary use of special op is not equivalent to special op + =) { where => { - manager_id => { '-prior' => { -ident => 'employee_id' } }, - customer_id => { '>', { '-prior' => \'account_mgr_id' } }, + foo_id => { '=' => { '-prior' => { -ident => 'bar_id' } } }, + baz_id => { '-prior' => { -ident => 'quux_id' } }, }, - stmt => ' WHERE ( customer_id > ( PRIOR account_mgr_id ) AND manager_id = PRIOR employee_id )', + stmt => ' WHERE ( baz_id = PRIOR quux_id AND foo_id = ( PRIOR bar_id ) )', bind => [], }, );