Bug Tracker

Ticket #3348: qunit.nullasserts.diff

File qunit.nullasserts.diff, 521 bytes (added by sugendran, 12 years ago)

testrunner.js diff

  • testrunner.js

     
    217217}
    218218
    219219/**
     220 * Asserts that the object is null.
     221 */
     222function isNull(a, msg){
     223    _config.Test.push( [ a === null, msg ] );
     224}
     225
     226/**
     227 * Asserts that the object is not null.
     228 */
     229function notNull(a, msg){
     230    _config.Test.push( [ a != null, msg ] );
     231}
     232
     233/**
    220234 * Asserts that two arrays are the same
    221235 */
    222236function isSet(a, b, msg) {