Sha256: eba28004562f5f9343b1bcbb13d193431c23012f0f096223b5db74b4680a1058
Contents?: true
Size: 454 Bytes
Versions: 17
Compression:
Stored size: 454 Bytes
Contents
# frozen_string_literal: true require 'test_helper' class TestInternalLogger < Minitest::Test def test_levels logger_a = Prefab::InternalLogger.new(A) logger_b = Prefab::InternalLogger.new(B) assert_equal :warn, logger_a.level assert_equal :warn, logger_b.level Prefab::InternalLogger.using_prefab_log_filter! assert_equal :trace, logger_a.level assert_equal :trace, logger_b.level end end class A end class B end
Version data entries
17 entries across 17 versions & 1 rubygems