Skip to content

Commit

Permalink
fix README.md; remove debug from test
Browse files Browse the repository at this point in the history
  • Loading branch information
shapito27 committed Oct 29, 2020
1 parent dc339e1 commit ccfb61b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Lib for parsing whois response.
It takes response from any whois server and return object with structured data.

## Example
([more detailed example](https://github.com/shapito27/whois/blob/main/tests/WhoisParserTest.php))

**Input**: response of shell command ```whois facebook.com``` pass as ```$whoisText```
```
$parser = new WhoisParser($whoisText);
Expand Down
1 change: 0 additions & 1 deletion tests/WhoisParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,5 @@ public function testParsing()
$parser = new WhoisParser($whoisText);
$whoisObject = $parser->run();
self::assertTrue($whoisObject->isRegistered());
var_dump($whoisObject);
}
}

0 comments on commit ccfb61b

Please sign in to comment.