Skip to content

Commit cdc5705

Browse files
committed
IHF: Test names minor fixes.
1 parent 2353295 commit cdc5705

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/array/ArrayExceptValueTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ public function it_can_exclude_string_value()
7373
$this->assertEquals(['foo', 'bar'], array_except_value(['foo', 'bar', 'baz'], 'baz'));
7474
}
7575

76+
/** @test */
77+
public function it_supports_multiple_values()
78+
{
79+
$array = ['foo', 'bar', 'baz', 'bax'];
80+
$this->assertEquals([1 => 'bar', 2 => 'baz'], array_except_value($array, ['foo', 'bax']));
81+
}
82+
7683
/** @test */
7784
public function it_works_with_associative_array_and_single_value()
7885
{

0 commit comments

Comments
 (0)