-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow CRLF #703
Allow CRLF #703
Conversation
@@ -94,6 +94,21 @@ def match(a, b): | |||
if rstrip and a.rstrip(rstrip_targets) == b.rstrip(rstrip_targets): | |||
log.warning('WA if no rstrip') | |||
return True | |||
if a == b.replace('\n', '\r\n'): | |||
log.warning(r'WA if not replaceing "\r\n" with "\n"') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: replacingです。全体的に。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
直した
|
テストを足しました。 |
Windows 上でだけ落ちた。気を付けて書いたのに困っちゃうな |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
テストを足してくださり、ありがとうございます!
fix #685
やりました。
実装が汚いけど、もっと賢い方法でやるとコードが膨らんでむしろ汚くなるのでまだ愚直にやります。同様のパターンが他にももうひとつふたつ増えたら対応します。