[libmoo-perl] 07/43: skip todo tests in Sub::Quote for quieter output

gregor herrmann gregoa at debian.org
Mon Dec 26 17:56:13 UTC 2016


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libmoo-perl.

commit b51e7570ed6a1712eb84d46636019615e4529546
Author: Graham Knop <haarg at haarg.org>
Date:   Mon Sep 19 18:26:04 2016 -0400

    skip todo tests in Sub::Quote for quieter output
---
 t/sub-quote.t | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/t/sub-quote.t b/t/sub-quote.t
index da526d5..1fe7815 100644
--- a/t/sub-quote.t
+++ b/t/sub-quote.t
@@ -274,7 +274,7 @@ BEGIN {
   }
 }
 
-{
+TODO: {
   my ($options, $context_sub, $direct_val);
   {
     use BetterNumbers;
@@ -287,7 +287,7 @@ BEGIN {
   is $direct_val, 11,
     'integer overload is working';
 
-  local $TODO = "refs in hints hash not yet implemented";
+  todo_skip "refs in hints hash not yet implemented", 4;
   {
     my $context_val;
     is exception { $context_val = $context_sub->() }, undef,
@@ -307,7 +307,7 @@ BEGIN {
   }
 }
 
-{
+TODO: {
   my ($options, $context_sub, $direct_val);
   {
     use BetterNumbers +2;
@@ -320,7 +320,7 @@ BEGIN {
   is $direct_val, 12,
     'closure integer overload is working';
 
-  local $TODO = "refs in hints hash not yet implemented";
+  todo_skip "refs in hints hash not yet implemented", 4;
 
   {
     my $context_val;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmoo-perl.git



More information about the Pkg-perl-cvs-commits mailing list