File: yaml-implicit-warnings.t

package info (click to toggle)
libyaml-syck-perl 1.20-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 932 kB
  • sloc: ansic: 3,987; perl: 3,387; makefile: 4
file content (10 lines) | stat: -rw-r--r-- 201 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
use strict;
use warnings;
use YAML::Syck;
use Test::More 'no_plan';

my $warnings;
BEGIN { $SIG{__WARN__} = sub { $warnings .= "@_" } }

$YAML::Syck::ImplicitUnicode = 1;
ok !$warnings, "no warnings";