From: Matt S Trout Date: Thu, 2 May 2019 20:31:20 +0000 (+0000) Subject: fix stupid mistake when converting list to qw() X-Git-Tag: v2.000000~3^2~172 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a5e65f5bf55dd7d1ffd105b7b7937510af35b016;p=dbsrgits%2FSQL-Abstract.git fix stupid mistake when converting list to qw() --- diff --git a/xt/clauses.t b/xt/clauses.t index e723b46..3aedf53 100644 --- a/xt/clauses.t +++ b/xt/clauses.t @@ -296,7 +296,7 @@ is_same_sql( }, ], into => 'license_person', - fields => [ qw(person_id, license_id) ], + fields => [ qw(person_id license_id) ], select => { _ => ['person_id', 'license_id'], from => ['grandfather'], @@ -320,7 +320,7 @@ is_same_sql_bind( INSERT INTO license (kind, expires_on, valid_from) SELECT 'grandfather', '2017-06-30', '2016-07-01' FROM faculty RETURNING license_id - ) INSERT INTO license_person (person_id,, license_id) + ) INSERT INTO license_person (person_id, license_id) SELECT person_id, license_id FROM grandfather WHERE a.index = b.index }, [ qw(pending faculty) ],