[otrs-cvs] otrs/scripts/test/CPAN YAML.t,1.15,1.16
"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-serv8315/scripts/test/CPAN
Modified Files:
YAML.t
Log Message:
Improved code style.
Author: mg
Index: YAML.t
===================================================================
RCS file: /home/cvs/otrs/scripts/test/CPAN/YAML.t,v
retrieving revision 1.15
retrieving revision 1.16
diff -2 -u -d -r1.15 -r1.16
--- YAML.t 16 Jan 2013 16:58:35 -0000 1.15
+++ YAML.t 16 Jan 2013 20:47:01 -0000 1.16
@@ -69,5 +69,7 @@
ENGINE:
for my $Engine (qw(YAML::XS YAML)) {
- @YAML::Any::_TEST_ORDER = ($Engine);
+
+ # locally override the internal engine of YAML::Any to force testing
+ local @YAML::Any::_TEST_ORDER = ($Engine);
TEST:
@@ -86,6 +88,3 @@
}
-# reset _TEST_ORDER to use YAML::XS by default, otherwise it uses last engine
-@YAML::Any::_TEST_ORDER = ();
-
1;
---------------------------------------------------------------------
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