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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating Test cases error #937

Open
Vincentjiang918 opened this issue Apr 3, 2024 · 0 comments
Open

Creating Test cases error #937

Vincentjiang918 opened this issue Apr 3, 2024 · 0 comments

Comments

@Vincentjiang918
Copy link

馃悰 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.

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