diff options
author | Daniel Pittman <daniel@puppetlabs.com> | 2011-07-21 15:35:35 -0700 |
---|---|---|
committer | Daniel Pittman <daniel@puppetlabs.com> | 2011-07-22 13:29:04 -0700 |
commit | 039661156116cb6d3c5c8e372ed4d81af221453b (patch) | |
tree | 07fe2adb131d4a58c8523787ae4b534f61a2874e /examples/code/snippets | |
parent | 5e2a3d200b74eef9549e3e2a5bdbe2a23ae7fac1 (diff) | |
download | puppet-039661156116cb6d3c5c8e372ed4d81af221453b.tar.gz puppet-039661156116cb6d3c5c8e372ed4d81af221453b.tar.xz puppet-039661156116cb6d3c5c8e372ed4d81af221453b.zip |
maint: better error reporting when test fails
This test ensures, among other things, that we get a log message. If that
fails, we were trying to call a random method on nil; making that an assertion
means that we get a nice message rather than a failure that needs decoding.
Reviewed-By: Pieter van de Bruggen <pieter@puppetlabs.com>
Diffstat (limited to 'examples/code/snippets')
0 files changed, 0 insertions, 0 deletions