aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/servo/testing_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index c874d5ed26e..dad2af0aa04 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -298,7 +298,7 @@ class MachCommands(CommandBase):
args += ["--", "--nocapture"]
err = self.run_cargo_build_like_command("bench" if bench else "test", args, env=env, **kwargs)
- if err is not 0:
+ if err:
return err
@Command('test-content',