Skip to content

Commit

Permalink
Add test cases for multiline attributes
Browse files Browse the repository at this point in the history
See #1800.
  • Loading branch information
TimothyGu committed Aug 12, 2015
1 parent 477e549 commit e24dded
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/cases/attrs.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@
<input pattern="\S+"/>
<foo terse="true"></foo>
<foo date="1970-01-01T00:00:00.000Z"></foo>
<foo abc="abc" def="def"></foo>
<foo abc="abc" def="def"></foo>
<foo abc="abc" def="def"></foo>
<foo abc="abc" def="def"></foo>
<div foo="bar" bar="<baz>"></div>
9 changes: 9 additions & 0 deletions test/cases/attrs.jade
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ input(pattern='\\S+')
foo(terse="true")
foo(date=new Date(0))

foo(abc
,def)
foo(abc,
def)
foo(abc,
def)
foo(abc
,def)

- var attrs = {foo: 'bar', bar: '<baz>'}

div&attributes(attrs)

0 comments on commit e24dded

Please sign in to comment.