mirror of
https://github.com/archtechx/helpers.git
synced 2025-12-12 12:14:02 +00:00
11 lines
292 B
PHP
11 lines
292 B
PHP
<?php
|
|
|
|
it('returns the inner array if a simple array is supplied')
|
|
->expect(
|
|
variadic_array([['foo', 'bar']])
|
|
)->toBe(['foo', 'bar']);
|
|
|
|
it('returns the array if a non-simple array is supplied')
|
|
->expect(
|
|
variadic_array(['foo', 'bar'])
|
|
)->toBe(['foo', 'bar']);
|