mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@9a501a8
This commit is contained in:
parent
d070523e7b
commit
a66bc2c011
41 changed files with 699 additions and 639 deletions
|
@ -1,18 +1,15 @@
|
|||
require_relative '../../spec_helper'
|
||||
require_relative 'shared/new_ascii'
|
||||
require_relative 'shared/new_ascii_8bit'
|
||||
require_relative 'shared/new'
|
||||
|
||||
describe "Regexp.compile" do
|
||||
it_behaves_like :regexp_new_ascii, :compile
|
||||
it_behaves_like :regexp_new_ascii_8bit, :compile
|
||||
it_behaves_like :regexp_new, :compile
|
||||
end
|
||||
|
||||
describe "Regexp.compile given a String" do
|
||||
it_behaves_like :regexp_new_string_ascii, :compile
|
||||
it_behaves_like :regexp_new_string_ascii_8bit, :compile
|
||||
it_behaves_like :regexp_new_string, :compile
|
||||
it_behaves_like :regexp_new_string_binary, :compile
|
||||
end
|
||||
|
||||
describe "Regexp.compile given a Regexp" do
|
||||
it_behaves_like :regexp_new_regexp_ascii, :compile
|
||||
it_behaves_like :regexp_new_regexp_ascii_8bit, :compile
|
||||
it_behaves_like :regexp_new_regexp, :compile
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue