Skip to content

Commit

Permalink
updated test for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Pierronnet committed Nov 20, 2013
1 parent 9bc1667 commit 8ad0098
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby-18mode # JRuby in 1.8 mode
- jruby-19mode # JRuby in 1.9 mode
- rbx-18mode
- ruby-head
- jruby
- rbx
# - rbx-19mode # currently in active development, may or may not work for your project
# uncomment this line if your project needs to run something other than `rake`:
script: ruby test/test_ruby-mp3info.rb
2 changes: 1 addition & 1 deletion test/test_ruby-mp3info.rb
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def test_id3v2_to_inspect_hash
def test_id3v2_to_inspect_hash
Mp3Info.open(TEMP_FILE) do |mp3|
mp3.tag2.APIC = "\x00testing.jpg\x00" * 20
assert_match(/^(\\x00testing.jpg\\x00)+.*<<<\.\.\.snip\.\.\.>>>$/, mp3.tag2.to_inspect_hash["APIC"])
assert_match(/^((\\x00|\\u0000)testing.jpg(\\x00|\\u0000))+.*<<<\.\.\.snip\.\.\.>>>$/, mp3.tag2.to_inspect_hash["APIC"])
end
end

Expand Down

0 comments on commit 8ad0098

Please sign in to comment.