summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-proc-ext/test
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-05-20 11:21:31 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-05-20 11:21:31 +0900
commit4004e122a28f48206dc1f39c731993c632d7ac6a (patch)
treed758c460fec7423b6e23dcf0fd962fde978ee6fb /mrbgems/mruby-proc-ext/test
parentc4268f67d052aa55f9cce3307d846285f1e6519b (diff)
parentd8d07a234507e63a3ffad65309a62b484028381e (diff)
downloadmruby-4004e122a28f48206dc1f39c731993c632d7ac6a.tar.gz
mruby-4004e122a28f48206dc1f39c731993c632d7ac6a.zip
Merge pull request #2296 from take-cheeze/core_local_vars
Move `Kernel.local_variables` to core.
Diffstat (limited to 'mrbgems/mruby-proc-ext/test')
-rw-r--r--mrbgems/mruby-proc-ext/test/proc.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/mrbgems/mruby-proc-ext/test/proc.rb b/mrbgems/mruby-proc-ext/test/proc.rb
index 443bd330c..0f5ecfb94 100644
--- a/mrbgems/mruby-proc-ext/test/proc.rb
+++ b/mrbgems/mruby-proc-ext/test/proc.rb
@@ -74,17 +74,3 @@ assert('mrb_cfunc_env_get') do
assert_equal 1, t.get_int(1)
end
-
-assert('Kernel.local_variables', '15.3.1.2.7') do
- a, b = 0, 1
- a += b
-
- vars = Kernel.local_variables.sort
- assert_equal [:a, :b, :vars], vars
-
- proc {
- c = 2
- vars = Kernel.local_variables.sort
- assert_equal [:a, :b, :c, :vars], vars
- }.call
-end