Skip to content

Commit

Permalink
Add breaking test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
schlessera committed Feb 23, 2021
1 parent 0a7b56c commit 1cdecfb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/Dom/DocumentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,16 @@ public function dataDomDocument()
'<!DOCTYPE html><html><head><meta charset="utf-8"></head><body><br/></body></html>',
'<!DOCTYPE html><html><head><meta charset="utf-8"></head><body><br></body></html>',
],
'emoji_in_html_tag_for_amp_attribute' => [
'utf-8',
'<!DOCTYPE html><html ⚡ [class]="mystate.class" class="blue">' . $head . '<body></body></html>',
'<!DOCTYPE html><html ⚡ data-amp-bind-class="mystate.class" class="blue ⚡">' . $head . '<body></body></html>',
],
'emoji_in_html_tag_for_data_attribute' => [
'utf-8',
'<!DOCTYPE html><html amp data-text="⚡">' . $head . '<body></body></html>',
'<!DOCTYPE html><html amp data-text="⚡">' . $head . '<body></body></html>',
],
];
}

Expand Down

0 comments on commit 1cdecfb

Please sign in to comment.