Skip to content

Commit

Permalink
chore: Add assertions to AutoloadSectionTest
Browse files Browse the repository at this point in the history
The AutoloadSectionTest file was modified to add assertions for the keys and values in the foreach loop.
  • Loading branch information
nadar committed Aug 15, 2024
1 parent 53f9f2a commit 13953b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/AutoloadSectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 13953b4

Please sign in to comment.