spec/lita/logger_spec.rb in lita-2.7.2 vs spec/lita/logger_spec.rb in lita-3.0.0

- old
+ new

@@ -19,8 +19,8 @@ it "logs messages with a custom format" do stderr = StringIO.new stub_const("STDERR", stderr) logger = described_class.get_logger(:debug) logger.fatal "foo" - expect(stderr.string).to match(%r{^\[.+\] FATAL: foo$}) + expect(stderr.string).to match(/^\[.+\] FATAL: foo$/) end end