From d8d07a234507e63a3ffad65309a62b484028381e Mon Sep 17 00:00:00 2001 From: take_cheeze Date: Mon, 19 May 2014 22:05:02 +0900 Subject: Move `Kernel.local_variables` to core. --- mrbgems/mruby-proc-ext/test/proc.rb | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'mrbgems/mruby-proc-ext/test/proc.rb') 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 -- cgit v1.2.3