Sha256: 29b47acd101225ac4873d1cde1c4207d3ce3c32aa65415acc8f0dfc7d4285153
Contents?: true
Size: 454 Bytes
Versions: 4
Compression:
Stored size: 454 Bytes
Contents
#!/usr/bin/env ruby $:.unshift("../lib").unshift("../../lib") if __FILE__ =~ /\.rb$/ require 'puppet' require 'puppettest' class TestError < Test::Unit::TestCase include PuppetTest def test_errorisstring error = nil assert_nothing_raised { error = Puppet::ParseError.new("This is an error") } assert_instance_of(String, error.to_s) end end # $Id: errortest.rb 1793 2006-10-16 22:01:40Z luke $
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
puppet-0.23.0 | test/puppet/errortest.rb |
puppet-0.22.4 | test/puppet/errortest.rb |
puppet-0.23.1 | test/puppet/errortest.rb |
puppet-0.23.2 | test/puppet/errortest.rb |