Page MenuHomePhabricator

D8434.diff
No OneTemporary

D8434.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
Sat, Nov 9, 4:03 PM (3 d, 8 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6733740
Default Alt Text
D8434.diff (642 B)

Event Timeline