Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeraymonddowning committed Jul 21, 2021
1 parent 09682dd commit 4c8c42c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Features/HigherOrderTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
->tap(function (...$numbers) { expect($numbers)->toBe([1, 2, 3]); });

it('can pass shared datasets into callables')
->with('numbers.closure.wrapped')
->expect(function ($value) { return $value; })
->and(function ($value) { return $value; })
->tap(function ($value) { expect($value)->toBeInt(); })
->toBeInt()
->with('numbers.closure.wrapped');
->toBeInt();

afterEach()->assertTrue(true);

0 comments on commit 4c8c42c

Please sign in to comment.