blob: 9f3ada4018fdf737f30096bb7eca55b089872bbb (
plain)
1
2
3
4
5
6
7
8
9
10
|
require_relative '../../spec_helper'
describe "MatchData.allocate" do
ruby_version_is "2.7" do
it "is undefined" do
# https://bugs.ruby-lang.org/issues/16294
-> { MatchData.allocate }.should raise_error(NoMethodError)
end
end
end
|