Completed
Pull Request — master (#2)
by Siwapun
13:33
created

DropLastTest::testDropLast()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Aerophant\RamdaTest;
4
5
use function Aerophant\Ramda\dropLast;
6
use PHPUnit\Framework\TestCase;
7
8
class DropLastTest extends TestCase
9
{
10
  public function testDropLast()
11
  {
12
    $this->assertEquals([1, 2, 3, 4], dropLast()([1, 2, 3, 4, 5]));
13
  }
14
}
15