summaryrefslogtreecommitdiffstats
path: root/test/libcxx/test/format.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/libcxx/test/format.py')
-rw-r--r--test/libcxx/test/format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libcxx/test/format.py b/test/libcxx/test/format.py
index f78f38788..238dcdb29 100644
--- a/test/libcxx/test/format.py
+++ b/test/libcxx/test/format.py
@@ -158,6 +158,6 @@ class LibcxxTestFormat(object):
return lit.Test.PASS, ''
else:
report = libcxx.util.makeReport(cmd, out, err, rc)
- report_msg = ('Expected compilation to fail!' if use_verify else
+ report_msg = ('Expected compilation to fail!' if not use_verify else
'Expected compilation using verify to pass!')
return lit.Test.FAIL, report + report_msg + '\n'