Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tycooon committed Apr 17, 2024
1 parent d88245d commit 5db51b7
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
instance_double(SemanticLogger::Log).tap do |instance|
allow(instance).to receive(:level).and_return(log_level)
allow(instance).to receive(:name).and_return(log_name)
allow(instance).to receive(:thread_name).and_return(log_thread_name)
allow(instance).to receive(:message).and_return(log_message)
allow(instance).to receive(:exception).and_return(log_exception)
allow(instance).to receive(:tags).and_return(log_tags)
Expand All @@ -34,14 +33,13 @@

let(:log_level) { :debug }
let(:log_name) { "SomeName" }
let(:log_thread_name) { "10706" }
let(:log_message) { "Some Message" }
let(:log_exception) { nil }
let(:log_tags) { [] }
let(:log_named_tags) { Hash[] }
let(:log_time) { Time.utc(2007) }

# "md5(11112222) = 821f3157e1a3456bfe1a000a1adf0862"
# md5(11112222) = 821f3157e1a3456bfe1a000a1adf0862
let(:expected_thread_fingerprint) { "821f3157" }

it "properly formats log" do
Expand Down

0 comments on commit 5db51b7

Please sign in to comment.