* [PATCH] test/mgmt-usage.rb: fix mismatched indentation warning
@ 2019-04-27 20:16 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2019-04-27 20:16 UTC (permalink / raw)
To: cmogstored-public
Newer versions of Ruby warn on it
---
test/mgmt-usage.rb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/mgmt-usage.rb b/test/mgmt-usage.rb
index da4b4c0..24c83e3 100644
--- a/test/mgmt-usage.rb
+++ b/test/mgmt-usage.rb
@@ -69,8 +69,8 @@ def test_usage_daemon_already_running
assert_equal "#$$\n", File.read(pidf)
assert_match(/already running on PID: #$$\n/, File.read("#@tmpdir/err"))
assert ! File.exist?(usage)
- ensure
- $stderr.reopen(old_err)
- old_err.close
+ ensure
+ $stderr.reopen(old_err)
+ old_err.close
end
end
--
EW
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-04-27 20:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-27 20:16 [PATCH] test/mgmt-usage.rb: fix mismatched indentation warning Eric Wong
Code repositories for project(s) associated with this public inbox
https://yhbt.net/cmogstored.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).