~ubuntu-branches/ubuntu/saucy/libyaml-libyaml-perl/saucy-security

« back to all changes in this revision

Viewing changes to t/bug-pvf.t

  • Committer: Bazaar Package Importer
  • Author(s): Ryan Niebur
  • Date: 2009-06-01 02:17:22 UTC
  • Revision ID: james.westby@ubuntu.com-20090601021722-8qlj45pmu8ffwzau
Tags: upstream-0.32
ImportĀ upstreamĀ versionĀ 0.32

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
use t::TestYAML tests => 1;
 
2
use YAML::XS;
 
3
 
 
4
my $string = "foo %s bar";
 
5
 
 
6
my $string2 = Load Dump $string;
 
7
 
 
8
is $string2, $string,
 
9
    "Don't be using newSVpvf for strings, cuz it does a sprintf action";