]> khamidou — GitHub mirrors - arcanist.git/commitdiff
`pht`ize some strings in `ArcanistPhutilTestCaseTestCase`
authorJoshua Spence <josh@joshuaspence.com>
Wed, 4 Feb 2015 20:22:00 +0000 (07:22 +1100)
committerJoshua Spence <josh@joshuaspence.com>
Wed, 4 Feb 2015 20:22:00 +0000 (07:22 +1100)
Summary: Self-explanatory.

Test Plan: Eyeball it.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11671

src/unit/engine/phutil/testcase/ArcanistPhutilTestCaseTestCase.php

index dfe7a5baa90b97cb137a9259953ef35b7898489d..ffb9470d69cf83f60d045fbe8926660f0d1fedb0 100644 (file)
@@ -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.'));
   }
 
 }