mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/rss/rss-assertions.rb (RSS::Assertions::assert_atom_content_inline_other_text):
newlines are valid for Base64 data. [ruby-dev:38248] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@23120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dc7e0e1219
commit
340422dc1e
3 changed files with 7 additions and 8 deletions
|
|
@ -564,7 +564,7 @@ EOA
|
|||
|
||||
png_file = File.join(File.dirname(__FILE__), "dot.png")
|
||||
png = File.open(png_file, "rb") {|file| file.read}
|
||||
base64_content = [png].pack("m").delete("\n")
|
||||
base64_content = [png].pack("m")
|
||||
|
||||
[false, true].each do |with_space|
|
||||
xml_content = base64_content
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue