Skip to content

Commit

Permalink
style(inspec): fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
dafyddj committed Oct 11, 2023
1 parent 2bd3ef9 commit 1df9861
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions test/integration/default/controls/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions test/integration/default/controls/subcomponent_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
its('mode') { should cmp '0644' }
its('content') do
should include(
'# File managed by Salt at '\
'<salt://TEMPLATE/subcomponent/config/files/default/'\
'# File managed by Salt at ' \
'<salt://TEMPLATE/subcomponent/config/files/default/' \
'subcomponent-example.tmpl.jinja>.'
)
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
Expand Down

0 comments on commit 1df9861

Please sign in to comment.