Skip to content

Commit a76a66b

Browse files
authored
Merge pull request #1 from open-source-contributions/test_enhancement
Test enhancement
2 parents 2d4806a + 7f054a6 commit a76a66b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ php:
44
- '7.1'
55
- '7.2'
66
- '7.3'
7+
- '7.4'
78

89
before_script:
910
- travis_retry composer self-update

tests/ParseIdsTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
class ParseIdsTest extends TestCase
99
{
10-
/** test */
1110
public function test_it_parses_a_single_integer()
1211
{
1312
$expected = [3];
@@ -36,19 +35,19 @@ public function test_it_something_complicated()
3635
$this->assertEquals($expected, $actual);
3736
}
3837

39-
public function test_it_thows_a_invalid_argument_exception()
38+
public function test_it_throws_a_invalid_argument_exception()
4039
{
4140
$this->expectException(\InvalidArgumentException::class);
4241
Ids::parse("5--3");
4342
}
4443

45-
public function test_it_thows_a_invalid_argument_exception2()
44+
public function test_it_throws_a_invalid_argument_exception2()
4645
{
4746
$this->expectException(\InvalidArgumentException::class);
4847
Ids::parse("hallo");
4948
}
5049

51-
public function test_it_thows_a_invalid_argument_exception3()
50+
public function test_it_throws_a_invalid_argument_exception3()
5251
{
5352
$this->expectException(\InvalidArgumentException::class);
5453
Ids::parse("3&5");

0 commit comments

Comments
 (0)