summaryrefslogtreecommitdiff
path: root/spec/ruby/language/alias_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/language/alias_spec.rb')
-rw-r--r--spec/ruby/language/alias_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/language/alias_spec.rb b/spec/ruby/language/alias_spec.rb
index ee928cbfaa..61fddb0184 100644
--- a/spec/ruby/language/alias_spec.rb
+++ b/spec/ruby/language/alias_spec.rb
@@ -252,7 +252,7 @@ describe "The alias keyword" do
it "on top level defines the alias on Object" do
# because it defines on the default definee / current module
- ruby_exe("def foo; end; alias bla foo; print method(:bla).owner", escape: true).should == "Object"
+ ruby_exe("def foo; end; alias bla foo; print method(:bla).owner").should == "Object"
end
it "raises a NameError when passed a missing name" do