Subject: | [PATCH] github #332: Test tweak |
This patch is against the version 0.98 in bleadperl.
To keep tests passing, I am going to patch the tests in blead directly when I apply the patch
from <https://rt.perl.org/rt3/Ticket/Display.html?id=105922>, which should be harmless, as I
am not touching any Test::Simple files that get installed.
Subject: | open_5Mf3rhPx.txt |
diff --git a/Test-Simple/t/fail-more.t b/Test-Simple/t/fail-more.t
index 0fc6a71..72b5a51 100644
--- a/cpan/Test-Simple/t/fail-more.t
+++ b/cpan/Test-Simple/t/fail-more.t
@@ -248,22 +248,22 @@ ERR
#line 248
isa_ok(42, "Wibble", "My Wibble");
-out_ok( <<OUT, <<ERR );
+out_like( <<OUT, <<ERR );
not ok - My Wibble isa Wibble
OUT
# Failed test 'My Wibble isa Wibble'
# at $0 line 248.
-# My Wibble isn't a class or reference
+# My Wibble isn't a .*
ERR
#line 248
isa_ok(42, "Wibble");
-out_ok( <<OUT, <<ERR );
-not ok - The thing isa Wibble
+out_like( <<OUT, <<ERR );
+not ok - The (thing|class) isa Wibble
OUT
-# Failed test 'The thing isa Wibble'
+# Failed test 'The (thing|class) isa Wibble'
# at $0 line 248.
-# The thing isn't a class or reference
+# The (thing|class) isn't a .*
ERR
#line 258