mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Restore in_kwarg
flag properly
This commit is contained in:
parent
da3774e5eb
commit
b4229c0a90
2 changed files with 2 additions and 1 deletions
|
@ -1186,6 +1186,7 @@ END
|
|||
def test_modifier_in
|
||||
assert_equal true, (1 in a)
|
||||
assert_equal 1, a
|
||||
assert_valid_syntax "p(({} in a:), a:\n 1)"
|
||||
end
|
||||
end
|
||||
END_of_GUARD
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue