Skip to content

Commit

Permalink
fixup test suite for new API methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Apr 12, 2011
1 parent 89a4c1d commit af14ff3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ window.TEST = {
// note some unique members of the Modernizr object
inputs : ['input','inputtypes'],
audvid : ['video','audio'],
API : ['addTest', 'mq', 'isEventSupported'],
API : ['addTest', 'mq', 'event', 'testProp', 'testAllProps'],
extraclass: ['js'],
privates : ['_enableHTML5','_version','_fontfaceready'],
deprecated : [
Expand Down Expand Up @@ -310,12 +310,12 @@ test('Modernizr.mq: media query testing',function(){



test('Modernizr.isEventSupported',function(){
test('Modernizr.event',function(){

ok(Modernizr.isEventSupported,'Modernizr.isEventSupported() doesn\' freak out.');
ok(Modernizr.event,'Modernizr.event() doesn\' freak out.');


equals(Modernizr.isEventSupported('click'), true,'click event is supported');
equals(Modernizr.event('click'), true,'click event is supported');


});
Expand Down

0 comments on commit af14ff3

Please sign in to comment.