Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Test showing #161 was fixed.

  • Loading branch information...
commit 066629c6f3422c83480545a6cee17a802a28c339 1 parent f8057a5
@zachleat zachleat authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 test/unit/tests.js
View
5 test/unit/tests.js
@@ -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 );
+ });
}
};
Please sign in to comment.
Something went wrong with that request. Please try again.