diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-17 10:11:05 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-17 15:12:45 +0900 |
commit | 273f1f44982475f8c93805c9b9ec604846f3a5de (patch) | |
tree | 3093e39a4026f43728520f4374eac0ec371b6aaa /spec/ruby | |
parent | dd16f8524c44f8802e634af2577fe5a149cd740e (diff) | |
download | ruby-273f1f44982475f8c93805c9b9ec604846f3a5de.tar.gz |
Move fixture path to last path
Diffstat (limited to 'spec/ruby')
-rw-r--r-- | spec/ruby/core/kernel/shared/require.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/kernel/shared/require.rb b/spec/ruby/core/kernel/shared/require.rb index af0d50db4f..cfa1a4bbbd 100644 --- a/spec/ruby/core/kernel/shared/require.rb +++ b/spec/ruby/core/kernel/shared/require.rb @@ -163,7 +163,7 @@ describe :kernel_require_basic, shared: true do it "does not require file twice after $LOAD_PATH change" do $LOAD_PATH << CODE_LOADING_DIR @object.require("load_fixture.rb").should be_true - $LOAD_PATH.unshift CODE_LOADING_DIR + "/gem" + $LOAD_PATH.push CODE_LOADING_DIR + "/gem" @object.require("load_fixture.rb").should be_false ScratchPad.recorded.should == [:loaded] end |