]> git.vpit.fr Git - perl/modules/Sub-Op.git/blobdiff - t/11-existing.t
Properly chomp the testcases
[perl/modules/Sub-Op.git] / t / 11-existing.t
index 0339bc850b391436f5fe1d7beb6bf97071f58562..ecc673ef7738745f6d94bff143f8d2410f4f9ac2 100644 (file)
@@ -18,6 +18,9 @@ our $called;
 {
  local $/ = "####\n";
  while (<DATA>) {
+  chomp;
+  s/\s*$//;
+
   my ($code, $params)           = split /----\s*/, $_;
   my ($names, $ret, $exp, $seq) = split /\s*#\s*/, $params;