Dave Howorth wrote:
> The test uses this regex: qr/No such column made_up_column .*? at
> .*?81transactions.t line \d+/,
> 
> I'm not clear why it needs to use such a complicated regex instead of
> just qr/No such column made_up_column/ ?
> 
> I also don't understand why it doesn't need a /s modifier but I tried
> adding one and it didn't fix it so clearly I'm not thinking straight!

OK. Adding a /s modifier does fix the problem. My earlier failure was
finger trouble.

So I now believe I know why the test fails. And I can suggest the two
possible solutions above BUT:

(1) I don't know how the test passes for anybody!? and
(2) I don't know why the test is written as it is so I'm reluctant to
propose a change.

Thoughts?

Cheers, Dave

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to