diff --git a/src/lint/linter/__tests__/ArcanistLinterTestCase.php b/src/lint/linter/__tests__/ArcanistLinterTestCase.php index 2d273eb0..24d385ff 100644 --- a/src/lint/linter/__tests__/ArcanistLinterTestCase.php +++ b/src/lint/linter/__tests__/ArcanistLinterTestCase.php @@ -119,6 +119,8 @@ abstract class ArcanistLinterTestCase extends ArcanistPhutilTestCase { $caught_exception = true; } } + } else if ($exception instanceof ArcanistUsageException) { + $this->assertSkipped($exception->getMessage()); } $exception_message = $exception->getMessage()."\n\n". $exception->getTraceAsString();