fix tests

This commit is contained in:
Fabio Ivona
2023-08-03 11:27:01 +02:00
parent 8a589022d9
commit 60763f2223

View File

@ -36,7 +36,7 @@ test('pass with `__toString`', function () {
} }
}; };
expect($object)->toMatchSnapshot()->toMatchSnapshot(); expect($object)->toMatchSnapshot();
}); });
test('pass with `toString`', function () { test('pass with `toString`', function () {
@ -54,7 +54,7 @@ test('pass with `toString`', function () {
} }
}; };
expect($object)->toMatchSnapshot()->toMatchSnapshot(); expect($object)->toMatchSnapshot();
}); });
test('pass with dataset', function ($data) { test('pass with dataset', function ($data) {
@ -92,7 +92,7 @@ test('pass with `toArray`', function () {
} }
}; };
expect($object)->toMatchSnapshot()->toMatchSnapshot(); expect($object)->toMatchSnapshot();
}); });
test('pass with array', function () { test('pass with array', function () {
@ -100,7 +100,7 @@ test('pass with array', function () {
expect([ expect([
'key' => $this->snapshotable, 'key' => $this->snapshotable,
])->toMatchSnapshot()->toMatchSnapshot(); ])->toMatchSnapshot();
}); });
test('failures', function () { test('failures', function () {