Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Test cleanup #25

Merged
merged 2 commits into from

2 participants

Hannes Georg Rein Henrichs
Hannes Georg

Hi

I removed two unused variables.

Cheers'
Hannes

Rein Henrichs reinh merged commit 162960a into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +1 −1  spec/helper.rb
  2. +1 −1  spec/statsd_spec.rb
2  spec/helper.rb
View
@@ -17,7 +17,7 @@ def send(message, *rest)
end
def recv
- res = @buffer.shift
+ @buffer.shift
end
def clear
2  spec/statsd_spec.rb
View
@@ -126,7 +126,7 @@ class Statsd
before { class << @statsd; def rand; 0; end; end } # ensure delivery
it "should format the message according to the statsd spec" do
- result = @statsd.time('foobar', 0.5) { 'test' }
+ @statsd.time('foobar', 0.5) { 'test' }
@socket.recv.must_equal ['foobar:0|ms|@0.5']
end
end
Something went wrong with that request. Please try again.