diff options
author | Paul Berry <paul@puppetlabs.com> | 2010-08-31 11:46:36 -0700 |
---|---|---|
committer | Paul Berry <paul@puppetlabs.com> | 2010-08-31 11:46:36 -0700 |
commit | 1ba536eb533e99d0f400178184ce929f18457b03 (patch) | |
tree | 0c6ce7f8a33bc9231e979592a965f3fd8a49c8b3 /lib/puppet/util/rdoc/code_objects.rb | |
parent | fb9034731ddae41f1009745eb8eb1ea53aa05cfb (diff) | |
download | puppet-1ba536eb533e99d0f400178184ce929f18457b03.tar.gz puppet-1ba536eb533e99d0f400178184ce929f18457b03.tar.xz puppet-1ba536eb533e99d0f400178184ce929f18457b03.zip |
[3782] Test isolation problem in test/ral/providers/cron/crontab.rb
The test in question (test_parse_line) was nondeterministic because it
was relying on the sort order of a Hash whose keys were symbols. When
the sort order caused a blank line to appear at the end of the file
under test, the blank line was elided by the crontab parser, causing a
failure.
Modified the test to execute in a deterministic order that doesn't
place the blank line at the end.
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions