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

		if ( munit.isDate( actual ) && munit.isDate( expected ) ) {
			passed = actual.getTime() === expected.getTime();
			message = "Date '" + actual + "' does not match '" + expected + "'";
		}
		else {
			message = munit.isDate( actual ) ?
				"Expected value is not a Date object '" + expected + "'" :
				"Actual value is not a Date object '" + actual + "'";
		}

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

		if ( munit.isDate( actual ) && munit.isDate( expected ) ) {
			passed = actual.getTime() === expected.getTime();
			message = "Date '" + actual + "' does not match '" + expected + "'";
		}
		else {
			message = munit.isDate( actual ) ?
				"Expected value is not a Date object '" + expected + "'" :
				"Actual value is not a Date object '" + actual + "'";
		}

		return self.ok( name, passed, self.dateEquals, message );
	}
function ( name , actual , expected ) { var self = this , passed = false , message = '' ; if ( munit . isDate ( actual ) && munit . isDate ( expected ) ) { passed = actual . getTime ( ) === expected . getTime ( ) ; message = "Date '" + actual + "' does not match '" + expected + "'" ; } else { message = munit . isDate ( actual ) ? "Expected value is not a Date object '" + expected + "'" : "Actual value is not a Date object '" + actual + "'" ; } return self . ok ( name , passed , self . dateEquals , message ) ; }
Matching date objects
Matching date objects