Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Test::More bug?

by jens (Pilgrim)
on Aug 30, 2002 at 06:05 UTC ( #194009=note: print w/ replies, xml ) Need Help??


in reply to Re: Test::More bug?
in thread Test::More bug?

Your tests and your data to test don't match up. With a few changes this runs fine for me.

Yes, that was the idea!

I'm expecting it to say:"test failed: got 6"
but instead it says "20" and "5"!
Also, when all the values match up as they should, I still get an error. When I try cutting and pasting the precise example from 'perldoc Test::Tutorial', my actual and tested values for hour are '16' but it says it actually "got 6".!!

use Your::Eyes;


Comment on Re: Re: Test::More bug?
Replies are listed 'Best First'.
Re: Re: Re: Test::More bug?
by danichka (Hermit) on Aug 30, 2002 at 15:37 UTC
    I'm expecting it to say:"test failed: got 6"
    but instead it says "20" and "5"!


    20 is the line number and 5 is the test number that failed.

    When I try cutting and pasting the precise example from 'perldoc Test::Tutorial', my actual and tested values for hour are '16' but it says it actually "got 6"

    Like I said last time I think this is because your timezone is different from the author's. If I am wrong hopefully someone will clear that up.

    use Your::Eyes;

    I did, but they were tired and kept trying to close on me. Seriously though my "use Your::Head;" is merely my sig and wasn't an insult nor was it directed at you. I also think that it is a little silly to downvote some of my very old nodes over this.

    use Your::Head;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://194009]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2015-07-31 07:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (275 votes), past polls