@@ -51,15 +51,10 @@ public function testAttributeRetrieval()
5151 'test-0 ' => 0 ,
5252 'test-0-string ' => '0 ' ,
5353 'test-empty-string ' => '' ,
54- 'test-whitespace-string ' => ' ' ,
55- 'data-test-empty-string ' => '' ,
56- 'data-test-whitespace-string ' => ' ' ,
57- 'value ' => ' ' ,
58- 'alt ' => '' ,
5954 ]);
6055
61- $ this ->assertSame ('test-string="ok" test-true test-0="0" test-0-string="0" data- test-empty-string="" data-test-whitespace-string=" " value=" " alt ="" ' , (string ) $ bag );
62- $ this ->assertSame ('test-string="ok" test-true test-0="0" test-0-string="0" data- test-empty-string="" data-test-whitespace-string=" " value=" " alt ="" ' , (string ) $ bag ->merge ());
56+ $ this ->assertSame ('test-string="ok" test-true test-0="0" test-0-string="0" test-empty-string="" ' , (string ) $ bag );
57+ $ this ->assertSame ('test-string="ok" test-true test-0="0" test-0-string="0" test-empty-string="" ' , (string ) $ bag ->merge ());
6358
6459 $ bag = (new ComponentAttributeBag )
6560 ->merge ([
@@ -77,14 +72,10 @@ public function testAttributeRetrieval()
7772 'test-0 ' => 0 ,
7873 'test-0-string ' => '0 ' ,
7974 'test-empty-string ' => '' ,
80- 'test-whitespace-string ' => ' ' ,
81- 'data-test-empty-string ' => '' ,
82- 'data-test-whitespace-string ' => ' ' ,
83- 'value ' => ' ' ,
84- 'alt ' => '' ,
8575 ]);
8676
87- $ this ->assertSame ('test-string="ok" test-true test-0="0" test-0-string="0" data-test-empty-string="" data-test-whitespace-string=" " value=" " alt="" ' , (string ) $ bag );
77+ $ this ->assertSame ('test-string="ok" test-true test-0="0" test-0-string="0" test-empty-string="" ' , (string ) $ bag );
78+
8879 $ bag = (new ComponentAttributeBag )
8980 ->merge ([
9081 'test-extract-1 ' => 'extracted-1 ' ,
0 commit comments