Skip to content

Commit d5e526c

Browse files
committed
IHF: Test names minor fixes.
1 parent e6072c9 commit d5e526c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

tests/array/ArrayExceptValueTest.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@
33
class ArrayExceptValueTest extends TestCase
44
{
55
/** @test */
6-
public function it_works_with_an_empty_array_and_empty_value()
6+
public function it_returns_empty_array_after_excluding_empty_value_from_empty_array()
77
{
88
$this->assertEquals([], array_except_value([], null));
99
}
1010

1111
/** @test */
12-
public function it_works_with_an_empty_array_and_not_empty_value()
12+
public function it_returns_empty_array_after_excluding_not_empty_value_from_empty_array()
1313
{
1414
$this->assertEquals([], array_except_value([], 'foo'));
1515
}
1616

1717
/** @test */
18-
public function it_works_with_unexisting_value()
18+
public function it_returns_array_itself_after_excluding_unexisting_value()
1919
{
2020
$this->assertEquals(['foo', 'bar', 'baz'], array_except_value(['foo', 'bar', 'baz'], 'bax'));
2121
}
2222

2323
/** @test */
24-
public function it_preserves_keys()
24+
public function it_preserves_keys_after_excluding_value()
2525
{
2626
$this->assertEquals(
2727
[0 => 'foo', 2 => 'baz'],
@@ -30,7 +30,7 @@ public function it_preserves_keys()
3030
}
3131

3232
/** @test */
33-
public function it_works_with_multiple_occurrences()
33+
public function it_excludes_all_multiple_occurrences()
3434
{
3535
$this->assertEquals(
3636
[0 => 'foo', 4 => 'bar'],
@@ -60,7 +60,7 @@ public function it_works_with_boolean_false_value()
6060
}
6161

6262
/** @test */
63-
public function it_works_with_integer_value()
63+
public function it_works_with_integer_values()
6464
{
6565
$this->assertEquals(
6666
[0 => 23, 2 => 14, 3 => 11],
@@ -69,7 +69,7 @@ public function it_works_with_integer_value()
6969
}
7070

7171
/** @test */
72-
public function it_works_with_float_value()
72+
public function it_works_with_float_values()
7373
{
7474
$this->assertEquals(
7575
[0 => 23.3, 1 => 17.2, 3 => 11.1],
@@ -78,13 +78,13 @@ public function it_works_with_float_value()
7878
}
7979

8080
/** @test */
81-
public function it_works_with_string_value()
81+
public function it_works_with_string_values()
8282
{
8383
$this->assertEquals(['foo', 'bar'], array_except_value(['foo', 'bar', 'baz'], 'baz'));
8484
}
8585

8686
/** @test */
87-
public function it_works_with_associative_array_and_string_value()
87+
public function it_works_with_associative_array_and_single_value()
8888
{
8989
$array = [
9090
'foo' => 'bar',
@@ -95,7 +95,7 @@ public function it_works_with_associative_array_and_string_value()
9595
}
9696

9797
/** @test */
98-
public function it_works_with_associative_array_and_array_value()
98+
public function it_works_with_associative_array_and_multiple_values()
9999
{
100100
$array = [
101101
'foo' => 'bar',

0 commit comments

Comments
 (0)