From 13953b4d05ea7dfd4c3450c48459f7daa0e67870 Mon Sep 17 00:00:00 2001 From: Nadar Date: Thu, 15 Aug 2024 18:30:30 +0000 Subject: [PATCH] chore: Add assertions to AutoloadSectionTest The AutoloadSectionTest file was modified to add assertions for the keys and values in the foreach loop. --- tests/AutoloadSectionTest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/AutoloadSectionTest.php b/tests/AutoloadSectionTest.php index e5ff4a2..5441f6d 100644 --- a/tests/AutoloadSectionTest.php +++ b/tests/AutoloadSectionTest.php @@ -20,6 +20,11 @@ public function testIterator() $this->assertSame('src/', $autoload->source); $this->assertSame(AutoloadSection::TYPE_PSR4, $autoload->type); } + + foreach ($section as $k => $v) { + $this->assertNotEmpty($k); + $this->assertNotEmpty($v); + } } public function testDevIterator()