Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
faissaloux committed Oct 7, 2024
1 parent 5d58740 commit e2ec8dd
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,41 @@ This plugin checks what's inside the files.


[![Tests](https://github.com/faissaloux/pest-plugin-inside/actions/workflows/tests.yml/badge.svg)](https://github.com/faissaloux/pest-plugin-inside/actions/workflows/tests.yml) ![Codecov](https://img.shields.io/codecov/c/github/faissaloux/pest-plugin-inside) ![Packagist Version](https://img.shields.io/packagist/v/faissaloux/pest-plugin-inside) ![Packagist License](https://img.shields.io/packagist/l/faissaloux/pest-plugin-inside)

### Success

```php
<?php

// lowercase.php

return [
'lower',
'case',
'lowercase',
];

```

```php
expect('lowercase.php')->toReturnLowercase();
```

### Failure

```php
<?php

// notlowercase.php

return [
'lower',
'caSe',
'lowercase',
];

```

```php
expect('notlowercase.php')->toReturnLowercase();
```

0 comments on commit e2ec8dd

Please sign in to comment.