[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Omaha.pm] lmao... if ($0 !~ /.t/) {
Hit this line of code today while trying to fix a bug:
next if ($rpc eq "ALL" and $filter_request);
Commenting out that line of code fixes our bug! Yay! But then some of my
tests for another set of business logic fail.
Totally joking, Sean suggested this patch:
if ($0 !~ /.t$/) {
next if ($rpc eq "ALL" and $filter_request);
}
If you don't find that hilarious then either you're not versed in Perl
automated testing, or you're far less of a geek than Sean and I... :)
j