Blob Blame History Raw
From ebb614f44658cd8f63cb2f355e1e02ccd739b010 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Mon, 5 Aug 2013 12:13:47 +0200
Subject: [PATCH] Test-Simple-0.98_05 outputs subtest names
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

<https://rt.cpan.org/Public/Bug/Display.html?id=87615>
<https://rt.cpan.org/Public/Bug/Display.html?id=87616>

Signed-off-by: Petr Písař <ppisar@redhat.com>
---
 t/mxms.t | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/t/mxms.t b/t/mxms.t
index ecb8008..28a82f1 100644
--- a/t/mxms.t
+++ b/t/mxms.t
@@ -23,6 +23,9 @@ BEGIN {
         };
     }, undef, "can create tests with methods");
 
+    ::test_out("    # Subtest: tests work"),
+    ::test_out("        # Subtest: foo bar")
+        if ($Test::More::VERSION >= 0.9805);
     ::test_out("        ok 1 - The object does Test::Foo");
     ::test_out("        1..1");
     ::test_out("    ok 1 - foo bar");
@@ -44,6 +47,9 @@ BEGIN {
         };
     }, undef, "can create tests with methods");
 
+    ::test_out("    # Subtest: tests work"),
+    ::test_out("        # Subtest: foobar")
+        if ($Test::More::VERSION >= 0.9805);
     ::test_out("        ok 1 - The object does Test::Bar");
     ::test_out("        1..1");
     ::test_out("    ok 1 - foobar");
-- 
1.8.1.4