Fix wart in file state test

This commit is contained in:
Daniel A. Wozniak 2018-08-23 21:00:35 -07:00
parent 71d4465b6c
commit e84e60857c
No known key found for this signature in database
GPG key ID: 166B9D2C06C82D61

View file

@ -2257,8 +2257,7 @@ class FileTest(ModuleCase, SaltReturnAssertsMixin):
else:
self.assertEqual(
ret['some-utf8-file-content-test']['comment'],
'Command "{0} "{1}"" run'.format(
'type' if salt.utils.platform.is_windows() else 'cmd',
'Command "cat "{1}"" run'.format(
test_file_encoded
)
)