From 1df98610848bff149cb7c55549d691ca960005f9 Mon Sep 17 00:00:00 2001 From: Dafydd Jones Date: Wed, 11 Oct 2023 16:43:00 +0100 Subject: [PATCH] style(inspec): fix whitespace --- test/integration/default/controls/config.rb | 8 ++++---- test/integration/default/controls/subcomponent_config.rb | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/test/integration/default/controls/config.rb b/test/integration/default/controls/config.rb index d501ee3a..293e2f7f 100644 --- a/test/integration/default/controls/config.rb +++ b/test/integration/default/controls/config.rb @@ -24,10 +24,10 @@ # rubocop:disable Lint/RedundantCopDisableDirective # rubocop:disable Layout/LineLength should include( - '"tofs": {"files_switch": ["any/path/can/be/used/here", "id", '\ - '"roles", "osfinger", "os", "os_family"], "source_files": '\ - '{"TEMPLATE-config-file-file-managed": ["example.tmpl.jinja"], '\ - '"TEMPLATE-subcomponent-config-file-file-managed": '\ + '"tofs": {"files_switch": ["any/path/can/be/used/here", "id", ' \ + '"roles", "osfinger", "os", "os_family"], "source_files": ' \ + '{"TEMPLATE-config-file-file-managed": ["example.tmpl.jinja"], ' \ + '"TEMPLATE-subcomponent-config-file-file-managed": ' \ '["subcomponent-example.tmpl.jinja"]}' ) # rubocop:enable Layout/LineLength diff --git a/test/integration/default/controls/subcomponent_config.rb b/test/integration/default/controls/subcomponent_config.rb index 5501f924..89afc28c 100644 --- a/test/integration/default/controls/subcomponent_config.rb +++ b/test/integration/default/controls/subcomponent_config.rb @@ -10,14 +10,14 @@ its('mode') { should cmp '0644' } its('content') do should include( - '# File managed by Salt at '\ - '.' ) end its('content') do should include( - 'This is another subcomponent example file from SaltStack '\ + 'This is another subcomponent example file from SaltStack ' \ 'template-formula.' ) end