HomePhorge

The return type of `methods` changed in 1.9
fde0ec378666Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

The return type of methods changed in 1.9

This test depended on the return type of methods, which went from array of
strings to array of symbols in Ruby 1.9. Given that it really wanted to test
if the instance responded to the message, we can just directly test that.

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU399c859f2669: Handle the real semantics of `String#lines`...
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPUfde0ec378666: The return type of `methods` changed in 1.9 (authored by Daniel Pittman <daniel@puppetlabs.com>).Mar 30 2012, 9:15 PM