-
-
Notifications
You must be signed in to change notification settings - Fork 17
Test::More::skip() failures in master #153
Comments
IMPORTANT The newfangled
|
That's true. This is now a FAQ: So that when you use one or two args for Test::More::skip(), they need to properly typed. I.e.
Rationale: skip() is a special case that the two args are very often mixed up. This error had previously to be detected at run-time with a fragile \d regex check. And in most cases this problem was never fixed, e.g. in
|
Permit (str $why = "", Numeric $how_many = 0) Update the FAQ in STATUS. Improves #153. Stricter typechecks should be opt-in. Currently we still dont have those pragmas yet. no warning "types"; use types "cast"; use types "strict";
Ok, I changed the $count from Int to Numeric, and allowed an empty skip with no_plan, as documented. The only backcompat problem is the str requirement, which will fail with plain Scalar(untyped) variables. If a variable, it needs to be stringified or typed. Otherwise I cannot detect the mixup at compile-time. |
Reopening as per 4fa19ec#commitcomment-17800525 |
In particular this line still fails like this as of 397c9ace1f949 |
Sure. Package-Stash-XS-0.28 is broken.
Other than that, the type checker passes now the |
@rurban, please click the actual links I gave you in #153 (comment) The logs clearly contradict
I very seldomly talk out of my ass, please take the time to look into my bugreports. |
@rurban ... unless |
@rurban Yes, it is a warnings, sorry for the noise :/ |
See rurban/distroprefs@e3535bd for the new 2 patches needed for Package::Stash::XS. This has nothing to do with cperl. Just sloppy tests. |
Yes, I agree. This time I did speak out of my ass ;) |
Please see rurban/distroprefs#4 |
Filing this as per #perl11, sorry if this is a known issue.
Failure within
Package::Stash::XS
:Failure within
DBI
:The text was updated successfully, but these errors were encountered: