ruby-changes:61764
From: Yusuke <ko1@a...>
Date: Thu, 18 Jun 2020 09:41:12 +0900 (JST)
Subject: [ruby-changes:61764] 82354afbf9 (master): test/webrick/test_filehandler.rb: remove unused variable
https://git.ruby-lang.org/ruby.git/commit/?id=82354afbf9 From 82354afbf910f7de47384204f3a0aa3b8d87c0ce Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Thu, 18 Jun 2020 09:40:44 +0900 Subject: test/webrick/test_filehandler.rb: remove unused variable diff --git a/test/webrick/test_filehandler.rb b/test/webrick/test_filehandler.rb index 1d2895f..70fa01a 100644 --- a/test/webrick/test_filehandler.rb +++ b/test/webrick/test_filehandler.rb @@ -294,7 +294,7 @@ class WEBrick::TestFileHandler < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/webrick/test_filehandler.rb#L294 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/