Skip to content

Commit

Permalink
Fixed issue #6
Browse files Browse the repository at this point in the history
  • Loading branch information
genius257 committed Sep 25, 2020
1 parent ff403e6 commit 193aedc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Unit/Constraint/Constraint.au3
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Func Au3UnitConstraintConstraint_Evaluate($constraint, $other, $description = ""
;ConsoleWrite(Call($e[0]&"_toString", $e)&@CRLF)
;ConsoleWrite($e[0]&@CRLF)
EndIf
If (IsBool($matches) And $matches) Or $comparisonFailure = Null Then $success = True
If (IsBool($matches) And $matches) Or (Not IsBool($matches)) And $comparisonFailure = Null Then $success = True
If $returnResult Then Return ($comparisonFailure = Null) ? $success : SetError(1, 0, $matches)

If Not $success Then
Expand Down

0 comments on commit 193aedc

Please sign in to comment.