Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14091708
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
Tue, Nov 26, 1:40 AM (4 h, 9 s)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6787684
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