Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Hint ./mach fmt
  • Loading branch information
pyfisch committed Nov 7, 2018
1 parent b93d4b2 commit 694991a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/servo/testing_commands.py
Expand Up @@ -331,6 +331,8 @@ def test_tidy(self, all_files, no_progress, self_test, stylo):
tidy_failed = tidy.scan(not all_files, not no_progress, stylo=stylo)
self.install_rustfmt()
rustfmt_failed = self.call_rustup_run(["cargo", "fmt", "--", "--check"])
if rustfmt_failed:
print("Run `./mach fmt` to fix the formatting")
return tidy_failed or manifest_dirty or rustfmt_failed

@Command('test-webidl',
Expand Down

0 comments on commit 694991a

Please sign in to comment.