rename self to receiver
just because it is a keyword and can’t be used
This commit is contained in:
@ -22,7 +22,7 @@ module Vool
|
||||
assert_equal :message , @method.first.left.known_object
|
||||
end
|
||||
def test_slot_gets_self
|
||||
assert_equal :self , @method.first.left.slots[0]
|
||||
assert_equal :receiver , @method.first.left.slots[0]
|
||||
end
|
||||
def test_slot_assigns_to_local
|
||||
assert_equal :a , @method.first.left.slots[-1]
|
||||
|
Reference in New Issue
Block a user