Page MenuHomePhabricator

D8434.id.diff
No OneTemporary

D8434.id.diff

Index: src/lint/linter/__tests__/ArcanistLinterTestCase.php
===================================================================
--- src/lint/linter/__tests__/ArcanistLinterTestCase.php
+++ src/lint/linter/__tests__/ArcanistLinterTestCase.php
@@ -13,9 +13,16 @@
->withSuffix('lint-test')
->find();
+ $test_count = 0;
foreach ($files as $file) {
$this->lintFile($root.$file, $linter);
+ $test_count++;
}
+
+ $this->assertEqual(
+ true,
+ ($test_count > 0),
+ pht('Expected to find some .lint-test tests in directory %s!', $root));
}
private function lintFile($file, $linter) {

File Metadata

Mime Type
text/plain
Expires
Wed, Oct 23, 12:12 PM (2 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6733740
Default Alt Text
D8434.id.diff (642 B)

Event Timeline