Subject: | die-in-setup.t fails at install in Windows XP |
I get this error (see next paragraph) when installing the Test::Class
module on Windows XP. As it only seems to indicate that the failure
message didn't have the expected newlines (i might have misunderstood),
i forced install.
I tried to add these newlines manually by changing
die "oops - we died\n"
into
die "oops - we died\n\n"
in the test file,
but it didn't work. If i remember well, die() doesn't like newlines.
t\die-in-setup.t ............... 1/1 # Failed test 'die in setup
caused test method to fail'
# at t\die-in-setup.t line 28.
# STDERR is:
# # Failed test 'setup_method (for test method 'test') died (oops - we
died)'
# # at t\die-in-setup.t line 27.
# # (in Foo->setup_method)
#
# not:
# # Failed test 'setup_method (for test method 'test') died (oops - we
died)'
#
# # at t/die-in-setup.t line 27.
#
# # (in Foo->setup_method)
#
# as expected
t\die-in-setup.t ............... Failed 1/1 subtests