Subject: | Doubled column in __ESSENTIAL__ expansion |
In the Film tests, columns are declared thus:
__PACKAGE__->columns('Primary', 'Title');
__PACKAGE__->columns('Essential', qw( Title ));
When you use the __ESSENTIAL__ transform_sql expansion, you get "title, title" rather than "title".
is (Film->transform_sql("SELECT __ESSENTIAL__ FROM __TABLE__"),
"SELECT title, title FROM Movies",
"doubled __ESSENTIAL__ expansion");