Skip to content
Permalink
Browse files

Hint ./mach fmt

  • Loading branch information
pyfisch committed Nov 7, 2018
1 parent b93d4b2 commit 694991ad7e74dcbe42544c049d834e4d664b353f
Showing with 2 additions and 0 deletions.
  1. +2 −0 python/servo/testing_commands.py
@@ -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',

0 comments on commit 694991a

Please sign in to comment.
You can’t perform that action at this time.