Created
August 8, 2014 09:07
-
-
Save magnolia-k/22f6cdc6456f5c83ba9b to your computer and use it in GitHub Desktop.
non latin-1 test script name
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat tést.t | |
use strict; | |
use warnings; | |
use Test::More qw/modern/; | |
ok(0, "test failure" ); | |
subtest 'subtest' => sub { | |
ok(0, "sub test failure" ); | |
}; | |
done_testing; | |
$ | |
$ | |
$ perl -Ilib tést.t | |
not ok 1 - test failure | |
# Failed test 'test failure' | |
# at teÌst.t line 6. | |
# Subtest: subtest | |
not ok 1 - sub test failure | |
# Failed test 'sub test failure' | |
# at teÌst.t line 9. | |
1..1 | |
# Looks like you failed 1 test of 1. | |
not ok 2 - subtest | |
# Failed test 'subtest' | |
# at teÌst.t line 10. | |
1..2 | |
# Looks like you failed 2 tests of 2. |
latest alpha
$ perl -Ilib tést.t
not ok 1 - test failure
# Failed test 'test failure'
# at tést.t line 6.
# Subtest: subtest
not ok 1 - sub test failure
# Failed test 'sub test failure'
# at tést.t line 9.
1..1
# Looks like you failed 1 test of 1.
not ok 2 - subtest
# Failed test 'subtest'
# at tést.t line 10.
1..2
# Looks like you failed 2 tests of 2.
great!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output:
XXXX:tést.t