Fix wart in file state test

This commit is contained in:
Daniel A. Wozniak 2018-08-23 21:00:35 -07:00 committed by rallytime
parent ba68388342
commit 19756022be
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -2256,8 +2256,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
)
)