Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make Test.pm methods return a boolean, like Test::More #376

Closed
p6rt opened this issue Oct 27, 2008 · 5 comments
Closed

make Test.pm methods return a boolean, like Test::More #376

p6rt opened this issue Oct 27, 2008 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Oct 27, 2008

Migrated from rt.perl.org#60164 (status was 'resolved')

Searchable as RT60164$

@p6rt
Copy link
Author

p6rt commented Oct 27, 2008

From @chrisdolan

The attached one-line patch makes Rakudo's Test.pm methods (ok(), is
(), etc) return a boolean like their Test​::More counterparts do.

@p6rt
Copy link
Author

p6rt commented Oct 27, 2008

From @chrisdolan

test-pm-return-value.patch
Index: Test.pm
===================================================================
--- Test.pm	(revision 32192)
+++ Test.pm	(working copy)
@@ -165,6 +165,7 @@
         print $todo_reason;
     }
     print "\n";
+    return $cond;
 }
 
 END {

@p6rt
Copy link
Author

p6rt commented Feb 27, 2009

From @masak

<bacek> masak​: And close #​60164. It was integrated into Rakudo recently
* masak closes #​60164

@p6rt
Copy link
Author

p6rt commented Feb 27, 2009

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Feb 27, 2009

@masak - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Feb 27, 2009
@p6rt p6rt added the patch label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant