From e025f03a4ad65c6ee8b9d0234652f12811d18a15 Mon Sep 17 00:00:00 2001 From: Bastian Schmidt Date: Wed, 4 Dec 2024 10:52:18 +0100 Subject: [PATCH] Apply rubocop in salt_runner_test Fixes missing space inside brackets --- test/unit/salt_runner_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/salt_runner_test.rb b/test/unit/salt_runner_test.rb index 101a68d..749c707 100644 --- a/test/unit/salt_runner_test.rb +++ b/test/unit/salt_runner_test.rb @@ -34,11 +34,11 @@ def test_override_exit_status assert_nil runner.jid runner.publish_exit_status(0) updates = runner.generate_updates - assert_equal 1, updates[{:suspended_action => nil}].exit_status + assert_equal 1, updates[{ :suspended_action => nil }].exit_status runner.publish_data('jid: 12345', 'stdout') runner.publish_exit_status(0) updates = runner.generate_updates - assert_equal 0, updates[{:suspended_action => nil}].exit_status + assert_equal 0, updates[{ :suspended_action => nil }].exit_status end def test_generate_command