golang-github-alecthomas-ch.../chroma-2.12.0-fix-linefeed-test.patch
W. Michael Petullo 197d660b86 Patch to fix test rather than avoiding test
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2024-02-14 08:26:13 -06:00

49 lines
2.4 KiB
Diff

diff -u --recursive chroma-2.12.0-vanilla/lexers/testdata/python2/test_complex_file1.expected chroma-2.12.0/lexers/testdata/python2/test_complex_file1.expected
--- chroma-2.12.0-vanilla/lexers/testdata/python2/test_complex_file1.expected 2023-12-01 14:26:45.000000000 -0600
+++ chroma-2.12.0/lexers/testdata/python2/test_complex_file1.expected 2024-02-14 08:09:11.204565236 -0600
@@ -170,7 +170,7 @@
{"type":"Punctuation","value":"("},
{"type":"Name","value":"translation"},
{"type":"Punctuation","value":"))"},
- {"type":"Text","value":"\n\n\n\u000c\n"},
+ {"type":"Text","value":"\n\n\n\f\n"},
{"type":"CommentSingle","value":"# Base64 encoding/decoding uses binascii"},
{"type":"Text","value":"\n\n"},
{"type":"Keyword","value":"def"},
@@ -417,7 +417,7 @@
{"type":"Punctuation","value":"("},
{"type":"Name","value":"_urlsafe_decode_translation"},
{"type":"Punctuation","value":"))"},
- {"type":"Text","value":"\n\n\n\u000c\n"},
+ {"type":"Text","value":"\n\n\n\f\n"},
{"type":"CommentSingle","value":"# Base32 encoding/decoding must be done in Python"},
{"type":"Text","value":"\n"},
{"type":"Name","value":"_b32alphabet"},
@@ -1458,7 +1458,7 @@
{"type":"Punctuation","value":"("},
{"type":"Name","value":"parts"},
{"type":"Punctuation","value":")"},
- {"type":"Text","value":"\n\n\n\u000c\n"},
+ {"type":"Text","value":"\n\n\n\f\n"},
{"type":"CommentSingle","value":"# RFC 3548, Base 16 Alphabet specifies uppercase, but hexlify() returns"},
{"type":"Text","value":"\n"},
{"type":"CommentSingle","value":"# lowercase. The RFC also recommends against accepting input case"},
@@ -1541,7 +1541,7 @@
{"type":"Punctuation","value":"("},
{"type":"Name","value":"s"},
{"type":"Punctuation","value":")"},
- {"type":"Text","value":"\n\n\n\u000c\n"},
+ {"type":"Text","value":"\n\n\n\f\n"},
{"type":"CommentSingle","value":"# Legacy interface. This code could be cleaned up since I don't believe"},
{"type":"Text","value":"\n"},
{"type":"CommentSingle","value":"# binascii has any line length limitations. It just doesn't seem worth it"},
@@ -1806,7 +1806,7 @@
{"type":"Punctuation","value":"("},
{"type":"Name","value":"s"},
{"type":"Punctuation","value":")"},
- {"type":"Text","value":"\n\n\n\u000c\n"},
+ {"type":"Text","value":"\n\n\n\f\n"},
{"type":"CommentSingle","value":"# Useable as a script..."},
{"type":"Text","value":"\n"},
{"type":"Keyword","value":"def"},