Skip to content
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

Fix lexers check when built with newer Go #928

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lexers/testdata/python2/test_complex_file1.expected
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down Expand Up @@ -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"},
Expand Down Expand Up @@ -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"},
Expand Down Expand Up @@ -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"},
Expand Down Expand Up @@ -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"},
Expand Down