Use the same way of defining contents in both file.managed states

This commit is contained in:
Erik Johnson 2018-04-13 23:07:39 -05:00
parent 5741d287b5
commit 0e99343a7f
No known key found for this signature in database
GPG key ID: 5E5583C437808F3F

View file

@ -2192,7 +2192,8 @@ class FileTest(ModuleCase, SaltReturnAssertsMixin):
'some-utf8-file-create:',
' file.managed:',
" - name: '{0}'".format(test_file),
" - contents: {0}".format(korean_1),
' - contents: |',
' {0}'.format(korean_1),
' - makedirs: True',
' - replace: True',
' - show_diff: True',