HomePhorge

Ruby 1.9.3 has a different error when `require` fails.
85f5543a0963Unpublished

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
Matthaus Litteken <matthaus@puppetlabs.com>Committed on Aug 13 2012, 8:20 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU0d0ac9f3f288: Merge pull request #1023 from haus/ticket/2.7rc/15291_add_vendor_field
Branches
Unknown
Tags
Unknown

Event Timeline

Matthaus Litteken <matthaus@puppetlabs.com> committed rPU85f5543a0963: Ruby 1.9.3 has a different error when `require` fails. (authored by Daniel Pittman <daniel@puppetlabs.com>).Aug 13 2012, 8:20 PM