Browse files

Merge pull request #23 from rohit/silence_warning

klass not used in tests produces warnings, silence these warnings
  • Loading branch information...
2 parents 1b661c6 + 75de9dc commit 805efa6de0a0a9c7813ae5e1fc5e52982c040613 @fxn fxn committed Mar 3, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 test/test_router.rb
View
2 test/test_router.rb
@@ -34,7 +34,6 @@ def ip; env['REMOTE_ADDR']; end
end
def test_dashes
- klass = FakeRequestFeeler.new nil
router = Router.new(routes, {})
exp = Router::Strexp.new '/foo-bar-baz', {}, ['/.?']
@@ -51,7 +50,6 @@ def test_dashes
end
def test_unicode
- klass = FakeRequestFeeler.new nil
router = Router.new(routes, {})
#match the escaped version of /ほげ

0 comments on commit 805efa6

Please sign in to comment.