ソースを参照

LastN not LasN

Marc Würth 7 年 前
コミット
536326c61f
1 ファイル変更4 行追加4 行削除
  1. 4 4
      tests/TestCase/Collection/CollectionTest.php

+ 4 - 4
tests/TestCase/Collection/CollectionTest.php

@@ -2192,7 +2192,7 @@ class CollectionTest extends TestCase
      * @return void
      * @covers ::takeLast
      */
-    public function testLasNtWithOverflow($data)
+    public function testLastNtWithOverflow($data)
     {
         $collection = new Collection($data);
         $result = $collection->takeLast(10)->toArray();
@@ -2207,7 +2207,7 @@ class CollectionTest extends TestCase
      * @return void
      * @covers ::takeLast
      */
-    public function testLasNtWithOddData($data)
+    public function testLastNtWithOddData($data)
     {
         $collection = new Collection($data);
         $result = $collection->take(3)->takeLast(2)->toArray();
@@ -2221,7 +2221,7 @@ class CollectionTest extends TestCase
      * @return void
      * @covers ::takeLast
      */
-    public function testLasNtWithCountable()
+    public function testLastNtWithCountable()
     {
         $collection = new Collection(new CountableIterator(range(0, 5)));
         $result = $collection->takeLast(2)->toList();
@@ -2239,7 +2239,7 @@ class CollectionTest extends TestCase
      * @return void
      * @covers ::takeLast
      */
-    public function testLasNtWithNegative($data)
+    public function testLastNtWithNegative($data)
     {
         $collection = new Collection($data);
         $this->expectException(\InvalidArgumentException::class);