test/logster/test_pattern.rb in logster-2.4.2 vs test/logster/test_pattern.rb in logster-2.5.0
- old
+ new
@@ -1,16 +1,16 @@
+# frozen_string_literal: true
+
require_relative '../test_helper'
require 'logster/redis_store'
require 'logster/pattern'
class TestPattern < Minitest::Test
class FakePattern < Logster::Pattern
def self.set_name
"__LOGSTER__fake_patterns_set".freeze
end
end
-
- Logster::PATTERNS << FakePattern
class TestRedisStore < Logster::BaseStore
def get_patterns(set_name)
["/differentstore/"]
end