Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test cases for safe navigation operator assignment #1064

Closed

Conversation

yui-knk
Copy link
Contributor

@yui-knk yui-knk commented Oct 23, 2015

Validate:

  • can assign an attribute which is nil
  • can "or assign" an attribute which is nil

Validate:

* can assign an attribute which is `nil`
* can "or assign" an attribute which is `nil`
@nobu nobu closed this in 1d3c076 Oct 23, 2015
sonots pushed a commit to sonots/ruby that referenced this pull request Nov 17, 2015
* test_call.rb (test_safe_call): Add test cases for safe
  navigation operator assignment.  [Fix rubyGH-1064]
  Validate:
  * can assign an attribute which is `nil`
  * can "or assign" an attribute which is `nil`

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant