Bug #3542
Ruby 1.9: broken unittest, String#each no longer exists
| Status: | Closed | Start date: | 04/13/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | testing | |||
| Target version: | 1.5.8 | |||
| Keywords: | Affected Facter version: | |||
| Branch: | ||||
| Votes: | 0 |
Description
When running the Facter unit tests under Ruby 1.9, the following failure is seen:
1)
NoMethodError in 'Facter when warning should warn if debugging is enabled'
undefined method `each' for "foo":String
/home/josb/src/facter/spec/unit/facter.rb:147:in `block (3 levels) in <top (required)>'
History
Updated by Jos Backus almost 2 years ago
- File bug-3542.diff added
Updated by James Turnbull almost 2 years ago
- Category set to testing
- Status changed from Unreviewed to In Topic Branch Pending Review
Updated by Jos Backus almost 2 years ago
- File bug-3542.diff added
Updated by James Turnbull almost 2 years ago
- Status changed from In Topic Branch Pending Review to Closed
Pushed in commit:802e6c24a0968deb0b45402d73c850f045b70c46 in branch master.