Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by fsavigny (Novice)
on Jul 26, 2013 at 10:50 UTC ( #1046475=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    is( $returned_message, $expected, 'expected_error_message');
    
  2. or download this
    not ok 8 - expected_error_message
    #   Failed test  'expected_error_message'
    ...
    #    11        Line 11 of the code
    #    [Input from: test.sgml, line 127]
    # '
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1046475]
Approved by marto
Front-paged by derby
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2014-12-21 01:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (100 votes), past polls