Skip to content

Creating Test cases error #937

@vinyx1

Description

@vinyx1

🐛 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions