Skip to content

Commit

Permalink
psr2 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
clphillips committed Apr 15, 2015
1 parent 3baadb2 commit 99ca15b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/LanguageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,14 @@ public function testGetText()
Language::setLang("en_us");
Language::loadLang("language_test", "en_uk", $this->lang_path);

$this->assertEquals("The blue car is fast.", Language::getText("LanguageTest.b", true, "blue", "fast", "car"));
$this->assertEquals("The blue car is fast.", Language::getText("LanguageTest.b", true, array("blue", "fast", "car")));
$this->assertEquals(
"The blue car is fast.",
Language::getText("LanguageTest.b", true, "blue", "fast", "car")
);
$this->assertEquals(
"The blue car is fast.",
Language::getText("LanguageTest.b", true, array("blue", "fast", "car"))
);

$this->assertEquals("I like the color green.", Language::getText("LanguageTest.a", true));

Expand Down

0 comments on commit 99ca15b

Please sign in to comment.