Skip to content

Commit

Permalink
Updated test puts to be htmlized
Browse files Browse the repository at this point in the history
  • Loading branch information
phuibonhoa committed Apr 30, 2012
1 parent 8edbb2a commit 67c22b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Support/RubyMate/run_script.rb
Expand Up @@ -179,7 +179,7 @@ def process_line(line)
test_has_puts = !(test_puts.nil? || test_puts.strip == "")

out = "<div style=\"#{style}padding: 1px 9px 0 9px;#{'background-color: #EFEFEF; border-top-left-radius: 5px; border-top-right-radius: 5px;' if test_has_puts}\">#{test_result}</div>"
out << "<div style=\"color: #141414; background-color: #EFEFEF; padding: 2px 9px; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; margin-bottom: 5px\">#{test_puts}</div>" if test_has_puts
out << "<div style=\"color: #141414; background-color: #EFEFEF; padding: 2px 9px; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; margin-bottom: 5px\">#{htmlize(test_puts)}</div>" if test_has_puts
out
else
""
Expand Down

0 comments on commit 67c22b4

Please sign in to comment.