File: test-warnings

package info (click to toggle)
libscalar-listify-perl 0.03-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 84 kB
  • sloc: perl: 45; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 431 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Remove useless warnings from the test suite

Nobody looks at these anyway.
--- libscalar-listify-perl.orig/test.pl
+++ libscalar-listify-perl/test.pl
@@ -18,10 +18,3 @@
 # (correspondingly "not ok 13") depending on the success of chunk 13
 # of the test code):
 
-my $scalar = 'ho there';
-my $aref   = [qw(a ref array ref got to go)];
-
-use Data::Dumper;
-
-warn Dumper(listify_aref($scalar));
-warn Dumper(listify_aref($aref));