Skip to content

Commit

Permalink
add a couple tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Glench committed Aug 8, 2013
1 parent 11f4eb8 commit 90b8883
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions htmlmin/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@
'<body > <div id="x" style=" abc " data-a=b></div></ body> ',
'<body> <div id=x style=" abc " data-a=b></div></body> ',
),
'remove_single_quotes': (
'<body><div thing=\'what\'></div></body> ',
'<body><div thing=what></div></body> ',
),
'keep_nested_single_quotes': (
'<body><div thing="wh\'at"></div></body> ',
'<body><div thing="wh\'at"></div></body> ',
),
'remove_tag_name_whitespace': (
'<body > <br /> <textarea > </ textarea ></ body> ',
'<body> <br> <textarea> </textarea></body> '
Expand Down

0 comments on commit 90b8883

Please sign in to comment.