This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/spec/ruby/language/def_spec.rb b/spec/ruby/language/def_spec.rb | |
index 9929097..60bb7bb 100644 | |
--- a/spec/ruby/language/def_spec.rb | |
+++ b/spec/ruby/language/def_spec.rb | |
@@ -369,9 +369,11 @@ describe "A method definition inside a metaclass scope" do | |
obj = Object.new | |
obj.freeze | |
- class << obj | |
- lambda { def foo; end }.should raise_error(RuntimeError) | |
- end | |
+ lambda { | |
+ class << obj | |
+ def foo; end | |
+ end | |
+ }.should raise_error(RuntimeError) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment