File: bug-pvf.t

package info (click to toggle)
libyaml-libyaml-perl 0.38-3%2Bdeb7u3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,640 kB
  • sloc: ansic: 8,213; perl: 4,808; makefile: 465
file content (9 lines) | stat: -rw-r--r-- 200 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
use t::TestYAML tests => 1;
use YAML::XS;

my $string = "foo %s bar";

my $string2 = Load Dump $string;

is $string2, $string,
    "Don't be using newSVpvf for strings, cuz it does a sprintf action";