mirror of
https://github.com/astral-sh/ruff
synced 2026-01-20 21:10:48 -05:00
Escape strings when formatting check messages (#1493)
This commit is contained in:
@@ -51,3 +51,12 @@ secret == "s3cr3t"
|
||||
token == "s3cr3t"
|
||||
secrete == "s3cr3t"
|
||||
password == safe == "s3cr3t"
|
||||
|
||||
if token == "1\n2":
|
||||
pass
|
||||
|
||||
if token == "3\t4":
|
||||
pass
|
||||
|
||||
if token == "5\r6":
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user