Skip to content

Commit

Permalink
Add failing test for rspivak#26
Browse files Browse the repository at this point in the history
  • Loading branch information
rspivak committed Apr 6, 2012
1 parent cab82cf commit 0b468c4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/slimit/tests/test_minifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,14 @@ def assertMinified(self, source, expected):

# https://github.com/rspivak/slimit/issues/26
('"begin"+ ++a+"end";', '"begin"+ ++a+"end";'),

# https://github.com/rspivak/slimit/issues/28
("""
(function($) {
$.hello = 'world';
}(jQuery));
""",
"(function($){$.hello='world';}(jQuery);)"),
]


Expand Down

0 comments on commit 0b468c4

Please sign in to comment.