aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-02-01 08:20:13 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-02-01 08:20:13 +0900
commit11d994724e2aff330603082739403da76c5d28b0 (patch)
tree8d905af09351b9b939ee0f64975ce6cdb4c8cb90
parent773e45a59163415e8bc247ebee1663c7e8113c81 (diff)
downloadrails-11d994724e2aff330603082739403da76c5d28b0.tar.gz
rails-11d994724e2aff330603082739403da76c5d28b0.tar.bz2
rails-11d994724e2aff330603082739403da76c5d28b0.zip
remove unused variable
This removes the following warnings. ``` activesupport/test/file_update_checker_shared_tests.rb:279: warning: assigned but unused variable - checker ```
-rw-r--r--activesupport/test/file_update_checker_shared_tests.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/file_update_checker_shared_tests.rb b/activesupport/test/file_update_checker_shared_tests.rb
index d038b4debd..361e7e2349 100644
--- a/activesupport/test/file_update_checker_shared_tests.rb
+++ b/activesupport/test/file_update_checker_shared_tests.rb
@@ -276,7 +276,7 @@ module FileUpdateCheckerSharedTests
test "initialize raises an ArgumentError if no block given" do
assert_raise ArgumentError do
- checker = new_checker([])
+ new_checker([])
end
end
end