Sha256: 93531003a4bf01b06120fcd241eef1191b51a22f14cf735c310a26dcb6dbb865
Contents?: true
Size: 456 Bytes
Versions: 6
Compression:
Stored size: 456 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', '..', '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
6 entries across 6 versions & 2 rubygems