Skip to content

Commit

Permalink
Merge branch 'main' of github.com:spatie/diff
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Feb 22, 2024
2 parents 4de405e + 2ca0ab2 commit 94279ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/ArrayDiffTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use Spatie\Diff\Differ;
use Spatie\Diff\Renderers\SimpleRenderer;

it('can detect the same array', function() {
it('can detect the same array', function () {
$differ = new Differ();

$result = $differ->diff(
Expand Down
6 changes: 3 additions & 3 deletions tests/DiffTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
use Spatie\Diff\Differ;
use Spatie\Diff\Exceptions\CannotDiff;

beforeEach(function() {
$this->differ = new Differ();
beforeEach(function () {
$this->differ = new Differ();
});

it('will thrown an exception if the types are not the same', function() {
it('will thrown an exception if the types are not the same', function () {
$this->differ->diff('a', ['a']);
})->throws(CannotDiff::class);

0 comments on commit 94279ff

Please sign in to comment.