summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-06-18 09:40:44 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-06-18 09:40:44 +0900
commit82354afbf910f7de47384204f3a0aa3b8d87c0ce (patch)
treeacc4a33f403efca0a228e031f95eef9b6ad274eb /test
parentbed17974a1563852c3d1d2b7b24033ed0beaa33e (diff)
test/webrick/test_filehandler.rb: remove unused variable
Diffstat (limited to 'test')
-rw-r--r--test/webrick/test_filehandler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/webrick/test_filehandler.rb b/test/webrick/test_filehandler.rb
index 1d2895f8ca..70fa01aba6 100644
--- a/test/webrick/test_filehandler.rb
+++ b/test/webrick/test_filehandler.rb
@@ -294,7 +294,7 @@ class WEBrick::TestFileHandler < Test::Unit::TestCase
config = { :DocumentRoot => dir }
TestWEBrick.start_httpserver(config) do |server, addr, port, log|
http = Net::HTTP.new(addr, port)
- case enc = Encoding.find('filesystem')
+ case Encoding.find('filesystem')
when Encoding::US_ASCII, Encoding::ASCII_8BIT
filesystem_path = "\u3042"
else