diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-09-01 07:06:59 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-09-01 07:06:59 +0900 |
commit | e92cd730ea3ef726f13a9d53009865191c94b703 (patch) | |
tree | 60f5cf5b9408b7274aba67caacd52a6edf88191c /activejob/test/helper.rb | |
parent | aa1dc38dc285a2900d5059c924c3fa03ad6555ce (diff) | |
download | rails-e92cd730ea3ef726f13a9d53009865191c94b703.tar.gz rails-e92cd730ea3ef726f13a9d53009865191c94b703.tar.bz2 rails-e92cd730ea3ef726f13a9d53009865191c94b703.zip |
Fix `can't modify frozen String` error in `XmlMini_JDOM`
Without this, `XmlMini_JDOM` raises an error as follwing:
```
RuntimeError: can't modify frozen String
org/jruby/RubyString.java:2264:in `concat'
activesupport/lib/active_support/xml_mini/jdom.rb:177:in `block in empty_content?'
org/jruby/RubyRange.java:485:in `each'
activesupport/lib/active_support/xml_mini/jdom.rb:174:in `empty_content?'
activesupport/lib/active_support/xml_mini/jdom.rb:86:in `collapse'
activesupport/lib/active_support/xml_mini/jdom.rb:66:in `merge_element!'
activesupport/lib/active_support/xml_mini/jdom.rb:84:in `block in collapse'
org/jruby/RubyRange.java:485:in `each'
activesupport/lib/active_support/xml_mini/jdom.rb:82:in `collapse'
activesupport/lib/active_support/xml_mini/jdom.rb:66:in `merge_element!'
activesupport/lib/active_support/xml_mini/jdom.rb:51:in `parse'
activesupport/lib/active_support/xml_mini.rb:101:in `parse'
```
We already have tests about `XmlMini_JDOM`. But it is not running in CI.
https://github.com/rails/rails/blob/master/activesupport/test/xml_mini/jdom_engine_test.rb
Diffstat (limited to 'activejob/test/helper.rb')
0 files changed, 0 insertions, 0 deletions