Skip to content

Commit d22f42a

Browse files
authored
Merge pull request #16 from Slickdeals/update-tests
Update tests. & readme
2 parents 463c6f7 + ae173bb commit d22f42a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Originally a fork of [domnikl/statsd-php](https://github.com/domnikl/statsd-php)
1010

1111
The best way to install statsd-php is to use Composer and add the following to your project's `composer.json` file:
1212

13-
```javascript
13+
```json
1414
{
1515
"require": {
1616
"slickdeals/statsd": "^3.2"

tests/unit/Connection/TcpSocketTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function testThrowsExceptionWhenTryingToConnectToNotExistingServer()
3434
$this->expectException(\Domnikl\Statsd\Connection\TcpSocketException::class);
3535
$this->expectExceptionMessage('Couldn\'t connect to host "localhost:66000":');
3636

37-
$connection = new TcpSocket('localhost', 66000, 1.0);
37+
$connection = new TcpSocket('localhost', 66000, 0.1);
3838
$connection->send('foobar');
3939
}
4040
}

0 commit comments

Comments
 (0)