Skip to content

Commit

Permalink
clean cache to empty previous entries
Browse files Browse the repository at this point in the history
  • Loading branch information
colinsurprenant committed Nov 18, 2015
1 parent 21c8d4e commit 64ae981
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions logstash-core-event/spec/logstash/event_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@
let(:event2) { LogStash::Event.new({ "host" => "bar", "message" => "foo"}) }

it "should cache only one template" do
LogStash::StringInterpolation::CACHE.clear
expect {
event1.to_s
event2.to_s
Expand Down

0 comments on commit 64ae981

Please sign in to comment.