Page MenuHomePhabricator

D11671.diff
No OneTemporary

D11671.diff

diff --git a/src/unit/engine/phutil/testcase/ArcanistPhutilTestCaseTestCase.php b/src/unit/engine/phutil/testcase/ArcanistPhutilTestCaseTestCase.php
--- a/src/unit/engine/phutil/testcase/ArcanistPhutilTestCaseTestCase.php
+++ b/src/unit/engine/phutil/testcase/ArcanistPhutilTestCaseTestCase.php
@@ -6,11 +6,11 @@
final class ArcanistPhutilTestCaseTestCase extends ArcanistPhutilTestCase {
public function testFail() {
- $this->assertFailure('This test is expected to fail.');
+ $this->assertFailure(pht('This test is expected to fail.'));
}
public function testSkip() {
- $this->assertSkipped('This test is expected to skip.');
+ $this->assertSkipped(pht('This test is expected to skip.'));
}
}

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 9, 11:14 PM (9 h, 43 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6980627
Default Alt Text
D11671.diff (728 B)

Event Timeline