Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13999310
D7913.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
578 B
Referenced Files
None
Subscribers
None
D7913.diff
View Options
Index: src/lint/linter/__tests__/ArcanistLinterTestCase.php
===================================================================
--- src/lint/linter/__tests__/ArcanistLinterTestCase.php
+++ src/lint/linter/__tests__/ArcanistLinterTestCase.php
@@ -119,6 +119,8 @@
$caught_exception = true;
}
}
+ } else if ($exception instanceof ArcanistUsageException) {
+ $this->assertSkipped($exception->getMessage());
}
$exception_message = $exception->getMessage()."\n\n".
$exception->getTraceAsString();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 25, 2:07 PM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6728596
Default Alt Text
D7913.diff (578 B)
Attached To
Mode
D7913: Skip unit tests if `ArcanistLinter::getCacheVersion` throws an `ArcanistUsageException`
Attached
Detach File
Event Timeline
Log In to Comment