Page MenuHomePhabricator

D8434.id20031.diff
No OneTemporary

D8434.id20031.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 2, 2:01 AM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6733740
Default Alt Text
D8434.id20031.diff (642 B)

Event Timeline