ruby / spec

The Ruby Spec Suite aka ruby/spec
MIT License
595 stars 388 forks source link

Add test for rescue with safe navigator setter on nil #1156

Closed herwinw closed 4 months ago

herwinw commented 4 months ago

There was a test with the safe navigator setter, but only in the case where the target is not nil.

I tested this with the latest version of JRuby and TruffleRuby as well, and both look to be working fine.