function Expectation.ok(O)local V=(O.value~=nil)==O.successCondition local b=formatMessage(O.successCondition,("\069\120\112\101\099\116\101\100 \118\097\108\117\101 \037\113 \116\111 \098\101 \110\111\110-\110\105\108"):format(tostring(O.value)),("\069\120\112\101\099\116\101\100 \118\097\108\117\101 \037\113 \116\111 \098\101 \110\105\108"):format(tostring(O.value)))assertLevel(V,b,3)O:_resetModifiers()return O end
--[[
	Assert that our expectation value is not nil
]]
function Expectation:ok()
	local result = (self.value ~= nil) == self.successCondition

	local message = formatMessage(
		self.successCondition,
		("Expected value %q to be non-nil"):format(tostring(self.value)),
		("Expected value %q to be nil"):format(tostring(self.value))
	)

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

	return self
end
