From 229286be544e76771d2a64637b3c692e51cbd878 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 18 May 2018 06:27:05 +0000 Subject: quiet mismatched indentation warnings Ruby trunk started warning about more mismatched indentations starting around r62836. --- t/bin/unused_listen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/bin/unused_listen') diff --git a/t/bin/unused_listen b/t/bin/unused_listen index b638f54..8cce645 100755 --- a/t/bin/unused_listen +++ b/t/bin/unused_listen @@ -31,7 +31,7 @@ begin # when running tests in parallel with gmake. Create a lock file while # we have the port here to ensure that does not happen. lock_path = "#{Dir::tmpdir}/unicorn_test.#{addr}:#{port}.lock" - lock = File.open(lock_path, File::WRONLY|File::CREAT|File::EXCL, 0600) + File.open(lock_path, File::WRONLY|File::CREAT|File::EXCL, 0600) rescue Errno::EEXIST sock.close rescue nil retry -- cgit v1.2.3-24-ge0c7