1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
This commit is contained in:
Benoit Daloze 2022-03-03 14:43:14 +01:00
parent 1dc6bed0ca
commit 3b21818db1
16 changed files with 213 additions and 72 deletions

View file

@ -12,18 +12,10 @@ describe "The __FILE__ pseudo-variable" do
end
end
describe "The __FILE__ pseudo-variable" do
it_behaves_like :language___FILE__, :require, CodeLoadingSpecs::Method.new
end
describe "The __FILE__ pseudo-variable" do
describe "The __FILE__ pseudo-variable with require" do
it_behaves_like :language___FILE__, :require, Kernel
end
describe "The __FILE__ pseudo-variable" do
it_behaves_like :language___FILE__, :load, CodeLoadingSpecs::Method.new
end
describe "The __FILE__ pseudo-variable" do
describe "The __FILE__ pseudo-variable with load" do
it_behaves_like :language___FILE__, :load, Kernel
end