Skip to content

Creating Test cases error #937

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

Open
vinyx1 opened this issue Apr 3, 2024 · 1 comment
Open

Creating Test cases error #937

vinyx1 opened this issue Apr 3, 2024 · 1 comment

Comments

@vinyx1
Copy link

vinyx1 commented Apr 3, 2024

🐛 Bug Report

A clear and concise description of what the bug is.
I have typed a test case for Leetcode Problem 37. I copy pasted into VSCode, then copy pasted it back into a new test cases. When running, it gives me the following error: [ is not a valid value of type character[][]

To Reproduce

Try test case:

[
["4",".",".",".","3",".",".",".","."],
[".",".",".","6",".",".","8",".","."],
[".",".",".",".",".",".",".",".","1"],
[".",".",".",".","5",".",".","9","."],
[".","8",".",".",".",".","6",".","."],
[".","7",".","2",".",".",".",".","."],
[".",".",".","1",".","2","7",".","."],
["5",".","3",".",".",".",".","4","."],
["9",".",".",".",".",".",".",".","."]
]

Manually typed in:
image

Copy pasted into VSCode (or any other text, e.g notepad, sticky notes...) and back into leetcode test cases
image

image

Expected behavior

It should run, but is receiving [ is not a valid value of type character[][] error.

@Mon-ange
Copy link

Image
I got creating test cases error too. I typed the "pwwedf", quotation mark included, which is successfully working on website, but failed in the extension.

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

2 participants