Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 imbibing at the Monastery: (12)
As of 2014-07-30 07:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (229 votes), past polls