Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: is (from Test::More) fails although strings should (no: must!) be equal

by rjt (Deacon)
on Jul 26, 2013 at 10:58 UTC ( #1046478=note: print w/ replies, xml ) Need Help??


in reply to is (from Test::More) fails although strings should (no: must!) be equal

It's not only that I cannot see the difference between got and expected, but I have also tried copying the strings between the single quotes into files and then diff'ing these files: no difference.

Even so, it's likely that there are differences in whitespace or line endings that are invisible to you, and may either be ignored by diff(1) or be munged by a copy/paste. cmp the strings yourself and use diag to report the difference. If they compare as different, you have a likely suspect.


Comment on Re: is (from Test::More) fails although strings should (no: must!) be equal
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2015-07-06 22:14 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 (83 votes), past polls