From 901d7069ce7f523c550a08ee2a5388f93641f4cd Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Sat, 2 Oct 2021 10:09:13 +0100 Subject: [PATCH] fix(rubocop): fix violation [skip ci] ``` Offenses: test/integration/default/controls/pkgs_spec.rb:112:9: C: [Correctable] Layout/LineEndStringConcatenationIndentation: Align parts of a string concatenated with backslash. "installed\nP.*\nS.*\nI.*\nM.*\nA.*\nVersion: #{v}" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ``` --- test/integration/default/controls/pkgs_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/default/controls/pkgs_spec.rb b/test/integration/default/controls/pkgs_spec.rb index dd28768..a729d77 100644 --- a/test/integration/default/controls/pkgs_spec.rb +++ b/test/integration/default/controls/pkgs_spec.rb @@ -109,7 +109,7 @@ control 'Held packages' do match_string = "#{p}-.*#{v}" when 'debian' match_string = "^Package: #{p}\nStatus: hold ok "\ - "installed\nP.*\nS.*\nI.*\nM.*\nA.*\nVersion: #{v}" + "installed\nP.*\nS.*\nI.*\nM.*\nA.*\nVersion: #{v}" end describe file(lock_file) do