So string cleanups, needed for richtext tests (some browsers will remove \n at the end, some browsers not).
This commit is contained in:
parent
73f265859d
commit
0c02c41c85
1 changed files with 5 additions and 0 deletions
|
@ -465,6 +465,11 @@ class TestCase < Test::Unit::TestCase
|
|||
raise e.inspect
|
||||
end
|
||||
end
|
||||
|
||||
# do cleanups (needed for richtext tests)
|
||||
text.gsub!(/\s+$/m, '')
|
||||
params[:value].gsub!(/\s+$/m, '')
|
||||
|
||||
match = false
|
||||
if params[:no_quote]
|
||||
#puts "aaaa #{text}/#{params[:value]}"
|
||||
|
|
Loading…
Reference in a new issue