Skip to content

Commit

Permalink
Add testcase for #14
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpoletaev committed Jul 18, 2017
1 parent 02a9c36 commit 0617d7d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/cases/mixes.beml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<div elem="elem"></div>
</div>

<table block="block-a">
<tr block="block-b">
<th elem="elem" mix="block:block-a, elem:elem-with-dash"></th>
</tr>
</table>

<div block="b-block" elem="elem" mix="block: b-mix"></div>
<div block="b-block" mix="block: b-mix, elem: elem"></div>
<div block="b-block" mix="block: b-mix, elem: elem, mod: {key:val}"></div>
Expand Down
6 changes: 6 additions & 0 deletions test/cases/mixes.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<div class="b-block__elem"></div>
</div>

<table class="block-a">
<tr class="block-b">
<th class="block-b__elem block-a__elem-with-dash"></th>
</tr>
</table>

<div class="b-block__elem b-mix"></div>
<div class="b-block b-mix__elem"></div>
<div class="b-block b-mix__elem b-mix__elem_key_val"></div>
Expand Down

0 comments on commit 0617d7d

Please sign in to comment.