| 1 |
NAME |
| 2 |
Test::More::UTF8 - Enhancing Test::More for UTF8-based projects |
| 3 |
|
| 4 |
SYNOPSIS |
| 5 |
use Test::More; |
| 6 |
use Test::More::UTF8; |
| 7 |
|
| 8 |
# now we can easily use flagged strings without warnings like "Wide character in print ..." |
| 9 |
is("\x{410}","\x{420}"); # got a failure message without warnings |
| 10 |
|
| 11 |
LIMITATIONS |
| 12 |
This module have reason only for perl 5.8 and higher |
| 13 |
|
| 14 |
FEATURES |
| 15 |
This module also switch on by default utf8 pragma. To disable this, add |
| 16 |
"-utf8" option |
| 17 |
|
| 18 |
use Test::More::UTF8 qw(-utf8); |
| 19 |
|
| 20 |
By default binmode ':utf8' will be done on all output handles: |
| 21 |
failure_output, todo_output, output. It is possible to choose only some |
| 22 |
of them |
| 23 |
|
| 24 |
use Test::More::UTF8 qw(failure); # enable :utf8 only on failure_output |
| 25 |
use Test::More::UTF8 qw(todo); # enable :utf8 only on todo_output |
| 26 |
use Test::More::UTF8 qw(out); # enable :utf8 only on output |
| 27 |
|
| 28 |
AUTHOR |
| 29 |
Mons Anderson, <[email protected]> |
| 30 |
|
| 31 |
BUGS |
| 32 |
None known |
| 33 |
|
| 34 |
COPYRIGHT & LICENSE |
| 35 |
Copyright 2009 Mons Anderson, all rights reserved. |
| 36 |
|
| 37 |
This program is free software; you can redistribute it and/or modify it |
| 38 |
under the same terms as Perl itself. |
| 39 |
|