Skip to content

Commit 6c95137

Browse files
committed
Improve error message for damaged CHECK line
1 parent aceb282 commit 6c95137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/FileCheck/CheckString.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ private func diagnoseFailedCheck(
329329
} else {
330330
diagnose(.error,
331331
at: loc,
332-
with: prefix + ": could not find '\(pattern.fixedString)' in input",
332+
with: prefix + ": could not find match for CHECK line",
333333
options: options
334334
)
335335
}

0 commit comments

Comments
 (0)