Skip to content
This repository
tree: 89ca0960cf
Fetching contributors…

Cannot retrieve contributors at this time

file 13 lines (12 sloc) 0.27 kb
1 2 3 4 5 6 7 8 9 10 11 12 13
require 'test/unit'
require 'jruby/synchronized'

class TestJrubySynchronized < Test::Unit::TestCase
  # JRUBY-5168
  def test_to_s_on_synchronized_array
    a=[Object.new]
    a[0].extend(JRuby::Synchronized)
    assert_nothing_raised do
      a.to_s
    end
  end
end
Something went wrong with that request. Please try again.