Merge pull request #896 from fabio-ivona/windows-tests-fix

fix tests
This commit is contained in:
Nuno Maduro
2023-08-03 09:33:17 +00:00
committed by GitHub

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 () {