I wonder about that--Test::Unit doesn't spell the word "acutal", does it? Also, if what Vamsi has rendered below has been transcribed accurately, the comma before "data" in the assert_match line would screw things up.
Vamsi--is that message copied and pasted from the screen by using the Windows clipboard, or are you reading it and typing it into your message? On the other hand, the purpose of using Watir is to find problems. When we can't "make something work" under Watir, it's worth considering the idea that we might have found a bug in the application under test--right? ---Michael B. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris McMahon Sent: April 17, 2007 11:56 AM To: [email protected] Subject: Re: [Wtr-general] How to verify the values in the tages >def test_crlf >data = "first line >second line" >assert_match(,data, /first line\s+second line/) end end >error: "first line\r\n\r\nsecond line" expected but acutal was "/fist line\s+secondling/" Your application has badly misspelled the message to the user. _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
