var AssertionError = require('./AssertionError')
var util = chai.util
var config = chai.config
var flag = util.flag

function Assertion (errorEmitter) {
  this.__errorEmitter = errorEmitter
}


/**
* When throwing the error inject checkup listener function
*
* NOTE: This method must accompany the changes of chai
*
* @version chai@2.3.0
*/
Assertion.prototype.assert = function (expr, msg, negateMsg, expected, _actual, showDiff) {
  var ok = util.test(this, arguments)
  if (showDiff !== true) showDiff = false
  if (config.showDiff !== true) showDiff = false

  if (!ok) {
    msg = util.getMessage(this, arguments)
    var actual = util.getActual(this, arguments)

    throw new AssertionError(this.__errorEmitter, msg, {
      actual: actual,
      expected: expected,
      showDiff: showDiff
    }, (config.includeStack) ? this.assert : flag(this, 'ssfi'))
  }
}

Assertion.prototype.

module.exports = Assertion

@@ -300,17 +300,17 @@
 hanges o
-f
+n
  chai%0A*%0A
@@ -868,30 +868,8 @@
 %0A%7D%0A%0A
-Assertion.prototype.%0A%0A
 modu

fix typo