Skip to content

Ensure null objects behave correctly with to_a and to_ary

gitlab-qa-bot requested to merge revisited_bugfix_for_doubles_in_arrays into master

Created by: JonRowe

Further to #357 (closed) we could return nil when the double is a as_null_object, we shouldn't change the behaviour when it's not a null object but this could be considered slightly more correct behaviour.

Merge request reports