about summary refs log tree commit homepage
path: root/test/unit/test_socket_helper.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2018-04-30 07:54:19 +0000
committerEric Wong <e@80x24.org>2018-05-01 10:19:17 +0000
commit6802a50bbb68dd5450749d72f053a56560c19d89 (patch)
tree84b940a63cafb9ac57c6b73ff98f4c059cfef65a /test/unit/test_socket_helper.rb
parent8cc911d4ff667c3f1af28db4c565cdbe22433e34 (diff)
downloadunicorn-6802a50bbb68dd5450749d72f053a56560c19d89.tar.gz
Ruby trunk started warning about more mismatched indentations
starting around r62836.
Diffstat (limited to 'test/unit/test_socket_helper.rb')
-rw-r--r--test/unit/test_socket_helper.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/test_socket_helper.rb b/test/unit/test_socket_helper.rb
index 8699409..fbc7bb9 100644
--- a/test/unit/test_socket_helper.rb
+++ b/test/unit/test_socket_helper.rb
@@ -57,8 +57,8 @@ class TestSocketHelper < Test::Unit::TestCase
     assert File.readable?(@unix_listener_path), "not readable"
     assert File.writable?(@unix_listener_path), "not writable"
     assert_equal 0777, File.umask
-    ensure
-      File.umask(old_umask)
+  ensure
+    File.umask(old_umask)
   end
 
   def test_bind_listen_unix_umask
@@ -71,8 +71,8 @@ class TestSocketHelper < Test::Unit::TestCase
     assert_equal @unix_listener_path, sock_name(@unix_listener)
     assert_equal 0140700, File.stat(@unix_listener_path).mode
     assert_equal 0777, File.umask
-    ensure
-      File.umask(old_umask)
+  ensure
+    File.umask(old_umask)
   end
 
   def test_bind_listen_unix_idempotent