diff --git a/test/browser_test_helper.rb b/test/browser_test_helper.rb index 856ee4531..1b431a968 100644 --- a/test/browser_test_helper.rb +++ b/test/browser_test_helper.rb @@ -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]}"