diag.t: Use correct variable
authorFather Chrysostomos <sprout@cpan.org>
Wed, 27 Jun 2012 07:45:34 +0000 (00:45 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 27 Jun 2012 07:52:54 +0000 (00:52 -0700)
commit207e3571322a904190689eec9279f6c8b80caf7e
tree6d75b72c14962928678c42c52839a12d9cfa087f
parent99a4af00dc49ad5653f019eb044606a31d6a6e34
diag.t: Use correct variable

Multiline messages are listed in the __DATA__ section with spaces
instead of line breaks.  When adding proper support for multiline err-
ors earlier, I made a slight mistake and caused multiline to-do mess-
ages to skip the to-do code path, because I was looking them up via
the name with line breaks ($name), rather than the name with line
breaks modified ($key).

This was causing it to fall down to the pass($key) below.

I want to add more tests down there, which will fail for multiline
to-do items.
t/porting/diag.t