Skip to content

Commit 1615a67

Browse files
committed
[libSyntax] Fix round-trip-syntax-test script
was always success because of logic error in the script.
1 parent 7b4fc5b commit 1615a67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/round-trip-syntax-test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ This driver invokes swift-syntax-test using -round-trip-lex and
172172
args.skip_bad_syntax)
173173
for filename in all_input_files]
174174

175-
failed = reduce(lambda a, b: a and b,
175+
failed = reduce(lambda a, b: a or b,
176176
map(run_task, lex_tasks + parse_tasks))
177177
sys.exit(1 if failed else 0)
178178

0 commit comments

Comments
 (0)