Skip to content

Commit 5eaebb3

Browse files
committed
Translation helper function is hard to test
1 parent bd79225 commit 5eaebb3

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

tests/HelpersTest.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,4 @@ public function testAiconfig()
77
{
88
$this->assertEquals( 'notexisting', aiconfig( 'not/exists', 'notexisting' ) );
99
}
10-
11-
12-
public function testAitrans()
13-
{
14-
$this->assertEquals( '1 not exists', aitrans( '%1$d not exists', array( 1 ) ) );
15-
}
16-
17-
18-
public function testAitransplural()
19-
{
20-
$this->assertEquals( '2 not exist', aitransplural( '%1$d not exists', '%1$d not exist', 2, array( 2 ) ) );
21-
}
2210
}

0 commit comments

Comments
 (0)