docs: function compareDone(pass) {
         var message = '';
  
         if (!pass) {
          if (!result.message) {
           args.unshift(expectation.isNot);
           args.unshift(name);
           message = expectation.util.buildFailureMessage.apply(null, args);
          } else {
           if (Object.prototype.toString.apply(result.message) === '[object Function]') {
            message = result.message(expectation.isNot);
           } else {
            message = result.message;
           }
          }
         }
  
         if (expected.length == 1) {
          expected = expected[0];
         }
         var res = {
          matcherName: name,
          passed: pass,
          message: message,
          actual: actual,
          expected: expected,
          error: matchError
         };
         expectation.addExpectationResult(pass, res);
        }