summaryrefslogtreecommitdiff
path: root/test/-ext-/test_bug-14834.rb
blob: a3623b8adc396de81000df656b2f4b47ccd3e2ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

class Test_BUG_14834 < Test::Unit::TestCase
  def test
    assert_ruby_status [], <<~'end;', '[ruby-core:87449] [Bug #14834]'
      require '-test-/bug_14834'
      Bug.bug_14834 do
        [123].group_by {}
      end
    end;
  end
end