diff options
author | Kyrylo Silin <silin@kyrylo.org> | 2019-10-26 09:56:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-26 09:56:57 +0800 |
commit | f7cdccb814f9dcc72a7075a4d548b4568c90285b (patch) | |
tree | 640ffe20d70e26d0b657ee52cd0727bb0995d4bb /spec/method_source_spec.rb | |
parent | 7079cd72e320e689abfe9d60b164553b98b5eeaf (diff) | |
parent | 6487a1e425997f674c6a6bb8c9e5e83c425ba271 (diff) | |
download | method_source-f7cdccb814f9dcc72a7075a4d548b4568c90285b.tar.gz |
Merge pull request #60 from casperisfine/fix-ci
Fix CI builds and add newer ruby versions
Diffstat (limited to 'spec/method_source_spec.rb')
-rw-r--r-- | spec/method_source_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/method_source_spec.rb b/spec/method_source_spec.rb index 088c21f..c4e0669 100644 --- a/spec/method_source_spec.rb +++ b/spec/method_source_spec.rb @@ -33,7 +33,7 @@ describe MethodSource do @lambda_source = "MyLambda = lambda { :lambda }\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_instance_evaled_source_2 = " def \#{name}_two()\n if 40 + 4\n 45\n end\n end\n" @hello_class_evaled_source = " def hello_\#{name}(*args)\n send_mesg(:\#{name}, *args)\n end\n" @hi_module_evaled_source = " def hi_\#{name}\n @var = \#{name}\n end\n" end |