function Expectation.equal(f,p)local s=(f.value==p)==f.successCondition local b=formatMessage(f.successCondition,("\069\120\112\101\099\116\101\100 \118\097\108\117\101 \037\113 \040\037\115\041\044 \103\111\116 \037\113 \040\037\115\041 \105\110\115\116\101\097\100"):format(tostring(p),type(p),tostring(f.value),type(f.value)),("\069\120\112\101\099\116\101\100 \097\110\121\116\104\105\110\103 \098\117\116 \118\097\108\117\101 \037\113 \040\037\115\041"):format(tostring(p),type(p)))assertLevel(s,b,3)f:_resetModifiers()return f end

function Expectation:equal(otherValue)
	local result = (self.value == otherValue) == self.successCondition

	local message = formatMessage(self.successCondition,
		("Expected value %q (%s), got %q (%s) instead"):format(
			tostring(otherValue),
			type(otherValue),
			tostring(self.value),
			type(self.value)
		),
		("Expected anything but value %q (%s)"):format(
			tostring(otherValue),
			type(otherValue)
		)
	)

	assertLevel(result, message, 3)
	self:_resetModifiers()

	return self
end
