Skip to content

Commit

Permalink
Issue #14: Finish the AttributesMapTest::testMerge() method.
Browse files Browse the repository at this point in the history
  • Loading branch information
donquixote committed Oct 27, 2024
1 parent c6806fb commit 7ab7103
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/src/AttributesMapTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,9 @@ function testMerge() {
$b = StaticAttributesMap::create(
['c0' => ['id' => 'c0id_b']],
['c0' => ['c0class_b' => 'c0class_b']]);
$merged = $a->merge($b);
$this->assertSame(
' id="c0id" class="c0class c0class_b"',
$merged->nameGetAttributes('c0')->renderAttributes());
}
}

0 comments on commit 7ab7103

Please sign in to comment.