[otrs-cvs] otrs/scripts/test/CPAN YAML.t,1.10,1.11
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/scripts/test/CPAN
In directory lancelot:/tmp/cvs-serv8521/scripts/test/CPAN
Modified Files:
YAML.t
Log Message:
Fixed problems with YAML parsing long lines. Added new module dependency YAML::XS.
Author: mg
Index: YAML.t
===================================================================
RCS file: /home/cvs/otrs/scripts/test/CPAN/YAML.t,v
retrieving revision 1.10
retrieving revision 1.11
diff -2 -u -d -r1.10 -r1.11
--- YAML.t 15 Jan 2013 15:06:13 -0000 1.10
+++ YAML.t 15 Jan 2013 17:43:26 -0000 1.11
@@ -15,5 +15,5 @@
use utf8;
-use YAML;
+use Kernel::System::YAML;
my @Tests = (
@@ -42,13 +42,13 @@
Data => ' a " a " a \'\' a \'\' a',
},
-# {
-# Name => 'Very long string', # see https://bugzilla.redhat.com/show_bug.cgi?id=19240_0000
-# Data => 'äø<>"\'' x 40_000,
-# },
+ {
+ Name => 'Very long string', # see https://bugzilla.redhat.com/show_bug.cgi?id=19240_0000
+ Data => 'äø<>"\'' x 40_000,
+ },
);
for my $Test (@Tests) {
- my $YAMLString = $Test->{YAMLString} || Dump( $Test->{Data} );
- my $YAMLData = Load( $YAMLString );
+ my $YAMLString = $Test->{YAMLString} || Kernel::System::YAML::Dump( $Test->{Data} );
+ my $YAMLData = Kernel::System::YAML::Load( $YAMLString );
$Self->IsDeeply(
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log