Permalink
Browse files

Test showing #161 was fixed.

  • Loading branch information...
1 parent f8057a5 commit 066629c6f3422c83480545a6cee17a802a28c339 @zachleat zachleat committed Dec 26, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 test/unit/tests.js
View
@@ -197,6 +197,11 @@ window.onload = function(){
ok( '@media only screen and (max-width: 1280px) { }'.match( respond.regex.maxw ).length );
ok( '@media only screen and ( max-width: 1280px ) { }'.match( respond.regex.maxw ).length );
});
+
+ test( 'Issue #161: spaces around inside min-width/max-width', function() {
+ ok( '@media only screen and (min-width : 1px) { }'.match( respond.regex.min ) !== null );
+ ok( '@media only screen and (max-width : 1px ) { }'.match( respond.regex.maxw ) !== null );
+ });
}
};

0 comments on commit 066629c

Please sign in to comment.