Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Sep 24, 2024
1 parent ee070c0 commit 7698716
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/Feature/TableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
],
],
'collections' => [
collect(['Name', 'Twitter']),
collect([
fn () => collect(['Name', 'Twitter']),
fn () => collect([
['Taylor Otwell', '@taylorotwell'],
['Dries Vints', '@driesvints'],
['James Brooks', '@jbrooksuk'],
Expand All @@ -53,7 +53,7 @@
['Joe Dixon', '@_joedixon'],
]),
],
]);
])->skip(! depends_on_collection());

it('renders a table without headers', function ($rows) {
Prompt::fake();
Expand Down Expand Up @@ -88,7 +88,7 @@
],
],
'collections' => [
collect([
fn () => collect([
['Taylor Otwell', '@taylorotwell'],
['Dries Vints', '@driesvints'],
['James Brooks', '@jbrooksuk'],
Expand All @@ -100,4 +100,4 @@
['Joe Dixon', '@_joedixon'],
]),
],
]);
])->skip(! depends_on_collection());

0 comments on commit 7698716

Please sign in to comment.