Skip to content

Commit cff905c

Browse files
committed
GetActualArrayKeyTest: improve descriptiveness of two tests
1 parent 211f919 commit cff905c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/AbstractSniffs/AbstractArrayDeclaration/GetActualArrayKeyTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function testGetActualArrayKeyFromHeredocWithEscapedVarInKey()
144144
*
145145
* @return void
146146
*/
147-
public function testStringLiteralsWithNumbers()
147+
public function testGetActualArrayKeyForStringLiteralsWithNumbers()
148148
{
149149
$testObj = new ArrayDeclarationSniffTestDouble();
150150
$testObj->tokens = self::$phpcsFile->getTokens();
@@ -185,7 +185,7 @@ public function testStringLiteralsWithNumbers()
185185
*
186186
* @return void
187187
*/
188-
public function testZeroPrefixedNumericStringKeys()
188+
public function testGetActualArrayKeyForZeroPrefixedNumericStringKeys()
189189
{
190190
$testObj = new ArrayDeclarationSniffTestDouble();
191191
$testObj->tokens = self::$phpcsFile->getTokens();

0 commit comments

Comments
 (0)