summaryrefslogtreecommitdiff
path: root/spec/method_source_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/method_source_spec.rb')
-rw-r--r--spec/method_source_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/method_source_spec.rb b/spec/method_source_spec.rb
index a609d49..088c21f 100644
--- a/spec/method_source_spec.rb
+++ b/spec/method_source_spec.rb
@@ -31,7 +31,7 @@ describe MethodSource do
@hello_comment = "# A comment for hello\n# It spans two lines and is indented by 2 spaces\n"
@lambda_comment = "# This is a comment for MyLambda\n"
@lambda_source = "MyLambda = lambda { :lambda }\n"
- @proc_source = "MyProc = Proc.new do\n\n\nend\n"
+ @proc_source = "MyProc = Proc.new { :proc }\n"
@hello_instance_evaled_source = " def hello_\#{name}(*args)\n send_mesg(:\#{name}, *args)\n end\n"
@hello_instance_evaled_source_2 = " def \#{name}_two()\n if 44\n 45\n end\n end\n"
@hello_class_evaled_source = " def hello_\#{name}(*args)\n send_mesg(:\#{name}, *args)\n end\n"