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 inline completion bug, add test cases #1002

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 4, 2024
commit 0341ee5f9ddd55adfa8057cff2931136cb29b1ac
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ async def test_handle_request(inline_handler):
("```\n# load json file\n```", "\n# load json file"),
("```\ndef function():\n pass\n```", "\ndef function():\n pass"),
(
"```\n# load json file\nimport json\nwith open('path-to-file','r') as f:```",
"\nimport json\nwith open('path-to-file','r') as f:"
"```\n# load json file\nimport json\nwith open('path-to-file','r') as f:```",
"\nimport json\nwith open('path-to-file','r') as f:",
),
]

Expand Down
Loading