Test coverage output seems to get confused on <

0 views
Skip to first unread message

J. Pablo Fernández

unread,
Nov 2, 2009, 5:27:04 PM11/2/09
to metric_fu
Hello,

I think I've found a bug and I'd like to report it. I couldn't find
any better place to do it, so I'm doing it here. In one of my classes
I have this code:

def to_s
"#<OpenId:#{id}: #{display_identifier}>"
end

and the test coverage output shows it as:

def to_s
"#"
end

I suppose it's getting confused with the < in there, not HTML escaping
it correctly.
Reply all
Reply to author
Forward
0 new messages