# New Ticket Created by  Aleks-Daniel Jakimenko-Aleksejev 
# Please include the string:  [perl #129192]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=129192 >


Command:
PERL6_TEST_DIE_ON_FAIL=1 perl6 -e 'use Test; is 25, 45, ‘foo’; done-testing'

Result:
not ok 1 - foo

# Failed test 'foo'
# at -e line 1
# Test failed. Stopping test suite, because PERL6_TEST_DIE_ON_FAIL
environmental variable is set to a true value.


OK, but where are “expected:” and “got:” values?

It works as expected if PERL6_TEST_DIE_ON_FAIL is not set:

Command:
perl6 -e 'use Test; is 25, 45, ‘foo’; done-testing'

Result:
not ok 1 - foo

# Failed test 'foo'
# at -e line 1
# expected: '45'
# got: '25'
1..1
# Looks like you failed 1 test of 1


Is there any good reason why it cannot print it?

Reply via email to