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

uploaded test case is getting changed while uploading or testing #979

Open
theashggl opened this issue Oct 19, 2024 · 0 comments
Open

uploaded test case is getting changed while uploading or testing #979

theashggl opened this issue Oct 19, 2024 · 0 comments

Comments

@theashggl
Copy link

🐛 Bug Report

I uploaded my testcase which I wrote in a separate file for the question number 67 of Leetcode. When I clicked upload for the testing of code, the file has the testcase correctly written in it which is
"1011"
"1011"
but the actual testcase uploaded to Leetcode is
1011"
"1011
as it says in the input section of the testcase.

To Reproduce

Have a text file to upload the testcase and paste the following testcase in the file-:
"1011"
"1011"
Select the question 67 and go to the code file for the question. Click the test button of Leetcode extension or the keyboard shortcut of it and select upload directly option. There will be error in the submission file that opens.

Expected behavior

Expected behaviour is that the text file contents should get uploaded as it is and the testcase should run as in the site. It does work with other questions though. It is only giving error for this one problem.

Extension Output

In the error section
1011" is not a valid value of type string
1011" is not a valid value of type string

In the your input section
1011"
"1011

Guidance: Press Ctrl+Shift+U, and toggle the channel to LeetCode.

Your Environment

  • os: windows 10
  • extension settings: default
  • nodejs version:19.7.0
  • vscode version: 1.94.2
  • extension version: 0.18.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant