Sha256: 591cee809928d6a95013bf3c2bdbe3369737de22c395189d3dc1bb3023543cc1
Contents?: true
Size: 409 Bytes
Versions: 46
Compression:
Stored size: 409 Bytes
Contents
require "test_helper" class PlainLoggerUtilTest < Test::Unit::TestCase setup do @klass = Vagrant::Util::PlainLogger @instance = @klass.new(nil) end should "inherit from the standard logger" do assert @instance.is_a?(::Logger) end should "just add a newline to the message" do msg = "foo bar baz" assert_equal "#{msg}\n", @instance.format_message("1", "2", "3", msg) end end
Version data entries
46 entries across 46 versions & 4 rubygems