If the binding throws an exception, the binding wrapper internally
returns false. This should result in the value being ignored, but wasn't
for QObjectCompatProperty targets. That was fixed with
440a63a33e7176167d91244467fa380bae684173. However the test assumed that
the binding would instead evaluate the error to an empty string. Adjust
the condition to properly handle that.
Change-Id: I6ff38c913866edbc9632bb854db00c29af036c82
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>