summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorAlexandr Ciornii <alexchorny@gmail.com>2012-02-03 22:42:31 -0800
committerFather Chrysostomos <sprout@cpan.org>2012-02-03 23:10:53 -0800
commit628491b638c4ffa0e874b1c353a016cdadb84938 (patch)
tree4da95087e7708f3ef3fea8ea3d8b7430396fa422 /dist
parent37f886e43e8edc1c69e8eed2400928bf959cc7e7 (diff)
downloadperl-628491b638c4ffa0e874b1c353a016cdadb84938.tar.gz
[perl #58608] TODO tests for DD and qr|\/|
Diffstat (limited to 'dist')
-rw-r--r--dist/Data-Dumper/t/qr.t23
1 files changed, 23 insertions, 0 deletions
diff --git a/dist/Data-Dumper/t/qr.t b/dist/Data-Dumper/t/qr.t
new file mode 100644
index 0000000000..f1a879d33b
--- /dev/null
+++ b/dist/Data-Dumper/t/qr.t
@@ -0,0 +1,23 @@
+#!perl -X
+
+BEGIN {
+ require Config; import Config;
+ no warnings 'once';
+ if ($Config{'extensions'} !~ /\bData\/Dumper\b/) {
+ print "1..0 # Skip: Data::Dumper was not built\n";
+ exit 0;
+ }
+}
+
+use strict;
+use Test::More tests => 1;
+use Data::Dumper;
+
+TODO: {
+ local $TODO = "RT#58608: Data::Dumper and slashes within qr";
+ my $q = q| \/ |;
+ use Data::Dumper;
+ my $qr = qr{$q};
+ eval Dumper $qr;
+ ok(!$@);
+}