diff options
Diffstat (limited to 'rh/hooks_unittest.py')
-rwxr-xr-x | rh/hooks_unittest.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rh/hooks_unittest.py b/rh/hooks_unittest.py index 754a16e..0442f4e 100755 --- a/rh/hooks_unittest.py +++ b/rh/hooks_unittest.py @@ -617,6 +617,10 @@ class BuiltinHooksTests(unittest.TestCase): self._test_file_filter(mock_check, rh.hooks.check_pylint3, ('foo.py',)) + def test_rustfmt(self, mock_check, _mock_run): + self._test_file_filter(mock_check, rh.hooks.check_rustfmt, + ('foo.rs',)) + def test_xmllint(self, mock_check, _mock_run): """Verify the xmllint builtin hook.""" self._test_file_filter(mock_check, rh.hooks.check_xmllint, |