Fix string formatting wart in file state tests

This commit is contained in:
Daniel A. Wozniak 2018-08-24 12:09:37 -07:00 committed by rallytime
parent 19756022be
commit b8c5a5bb91
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -2256,7 +2256,7 @@ class FileTest(ModuleCase, SaltReturnAssertsMixin):
else:
self.assertEqual(
ret['some-utf8-file-content-test']['comment'],
'Command "cat "{1}"" run'.format(
'Command "cat "{0}"" run'.format(
test_file_encoded
)
)