We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c791e81 commit 2b897eeCopy full SHA for 2b897ee
test/Arr/ArrHelperTest.php
@@ -18,6 +18,13 @@
18
*/
19
class ArrHelperTest extends TestCase
20
{
21
+ public function testIsList(): void
22
+ {
23
+ $this->assertTrue(Arr::isList(['a', 'b']));
24
+ $this->assertFalse(Arr::isList(['a' => 'v0', 'b']));
25
+ $this->assertTrue(Arr::isAssoc(['a' => 'v0', 'b']));
26
+ }
27
+
28
public function testGetKeyMaxWidth(): void
29
30
$data = [
test/Str/StringHelperTest.php
@@ -68,7 +68,7 @@ public function testParamQuotes(): void
68
public function testShellQuote(): void
69
70
$tests = [
71
- ['', ''],
+ ['', '""'],
72
['abc', 'abc'],
73
['ab"c', 'ab"c'],
74
];
0 commit comments