In three separate threads recently, people have been confused because 
what they see with puts doesn't match with what they are testing in an 
if statement

e.g.

puts foo
"hello"

but

if foo == "hello"
  this_is_never_called
end


The problem stems from the fact that puts is actually

print(foo.to_s + "\n")


Now you know.

Bret

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to