Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Test::More bug?

by jens (Pilgrim)
on Aug 30, 2002 at 06:05 UTC ( [id://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;

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://194009]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-26 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found