mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
test/binding.rb: remove a duplicated test.
This commit is contained in:
@@ -43,13 +43,6 @@ assert("Binding#local_variable_get") do
|
||||
}
|
||||
end
|
||||
|
||||
assert("Binding#source_location") do
|
||||
skip unless -> {}.source_location
|
||||
|
||||
bind, source_location = binding, [__FILE__, __LINE__]
|
||||
assert_equal source_location, bind.source_location
|
||||
end
|
||||
|
||||
assert "Kernel#binding and .eval from C" do
|
||||
bind = binding_in_c
|
||||
assert_equal 5, bind.eval("2 + 3")
|
||||
|
||||
Reference in New Issue
Block a user