Skip to content

Commit

Permalink
Use proper text case in method call
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpoe committed Jan 18, 2019
1 parent a8666dc commit 224fa09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Converter/ArrayToStringTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ArrayToStringTest extends TestCase
*/
public function testArrayToHstring(HArray $arr, $expected)
{
$this->assertEquals($expected, $arr->ToHstring());
$this->assertEquals($expected, $arr->toHString());
}

public function arrayToHstringProvider()
Expand All @@ -38,7 +38,7 @@ public function arrayToHstringProvider()
*/
public function testArrayToHstringWithGlue(HArray $arr, $glue, $expected)
{
$this->assertEquals($expected, $arr->ToHstring($glue));
$this->assertEquals($expected, $arr->toHString($glue));
}

public function arrayToHstringWithGlueProvider()
Expand Down Expand Up @@ -67,6 +67,6 @@ public function testBadGlueInToHstring()
$this->expectException('InvalidArgumentException');
$this->expectExceptionMessage('glue must be a string');

$arr->ToHstring(3);
$arr->toHString(3);
}
}

0 comments on commit 224fa09

Please sign in to comment.