lib/assert.js
function( name, actual, lower ) {
		var self = this,
			passed = false,
			message = '';

		if ( munit.isDate( actual ) && munit.isDate( lower ) ) {
			passed = actual.getTime() > lower.getTime();
			message = "Date '" + actual + "' is not after '" + lower + "'";
		}
		else {
			message = munit.isDate( actual ) ?
				"Lower value is not a Date object '" + lower + "'" :
				"Actual value is not a Date object '" + actual + "'";
		}

		return self.ok( name, passed, self.dateAfter, message );
	}
function( name, actual, lower ) {
		var self = this,
			passed = false,
			message = '';

		if ( munit.isDate( actual ) && munit.isDate( lower ) ) {
			passed = actual.getTime() > lower.getTime();
			message = "Date '" + actual + "' is not after '" + lower + "'";
		}
		else {
			message = munit.isDate( actual ) ?
				"Lower value is not a Date object '" + lower + "'" :
				"Actual value is not a Date object '" + actual + "'";
		}

		return self.ok( name, passed, self.dateAfter, message );
	}
function ( name , actual , lower ) { var self = this , passed = false , message = '' ; if ( munit . isDate ( actual ) && munit . isDate ( lower ) ) { passed = actual . getTime ( ) > lower . getTime ( ) ; message = "Date '" + actual + "' is not after '" + lower + "'" ; } else { message = munit . isDate ( actual ) ? "Lower value is not a Date object '" + lower + "'" : "Actual value is not a Date object '" + actual + "'" ; } return self . ok ( name , passed , self . dateAfter , message ) ; }
Tests date is after another date
Tests date is after another date