HomePhorge

Ruby 1.9.3 has a different error when `require` fails.
a71208ba651dUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Ruby 1.9.3 has a different error when require fails.

The text of the error message when load fails has changed, resulting in the
test failing. This adapts that to catch the different versions, allowing this
to pass in all cases.

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
rPU18615ef5bf90: Ruby 1.9.3 is strict about block argument counts.
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPUa71208ba651d: Ruby 1.9.3 has a different error when `require` fails. (authored by Daniel Pittman <daniel@puppetlabs.com>).Mar 30 2012, 9:15 PM