Skip to content

Commit

Permalink
test/webrick/test_filehandler.rb: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mame committed Jun 18, 2020
1 parent bed1797 commit 82354af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/webrick/test_filehandler.rb
Expand Up @@ -294,7 +294,7 @@ def test_cjk_in_path
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
Expand Down

0 comments on commit 82354af

Please sign in to comment.