When i test my test method with Test::Builder::Tester; and use numbers as test names I get:
not ok 3 - is_tuple checks if got values in an ARRAY
Failed test 'is_tuple checks if got values in an ARRAY'
at t/000_test_color.t line 24.
STDERR is:
# failed test: 3 - got values that are not a tuple (ARRAY ref)
> # You named your test '3'. You shouldn't use numbers for your test names.
> # Very confusing.
> # Failed test '3'
> # at t/000_test_color.t line 23.
not:
# failed test: 3 - got values that are not a tuple (ARRAY ref)
> /#\s+Failed\ test.?\n?.?at\ t/000_test_color.t line 23.*\n?/
>
>
>
as expected
I think my end of the code is totally fine because when i rename my test to one char name instead of one digit and change all string accordingly all is fine again.
When i test my test method with Test::Builder::Tester; and use numbers as test names I get:
not ok 3 - is_tuple checks if got values in an ARRAY
Failed test 'is_tuple checks if got values in an ARRAY'
at t/000_test_color.t line 24.
STDERR is:
# failed test: 3 - got values that are not a tuple (ARRAY ref)
> # You named your test '3'. You shouldn't use numbers for your test names.
> # Very confusing.
> # Failed test '3'
> # at t/000_test_color.t line 23.
not:
# failed test: 3 - got values that are not a tuple (ARRAY ref)
> /#\s+Failed\ test.?\n?.?at\ t/000_test_color.t line 23.*\n?/
>
>
>
as expected
I think my end of the code is totally fine because when i rename my test to one char name instead of one digit and change all string accordingly all is fine again.