vscode-leetcode icon indicating copy to clipboard operation
vscode-leetcode copied to clipboard

uploaded test case is getting changed while uploading or testing

Open theashggl opened this issue 1 year ago • 0 comments

🐛 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

theashggl avatar Oct 19 '24 05:10 theashggl