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

If the test name has new line, Test Explorer failed to the initialization #23

Open
sglim opened this issue Dec 30, 2022 · 0 comments
Open

Comments

@sglim
Copy link

sglim commented Dec 30, 2022

If you set test name like in test file:

test """
       Some
newline
test
       """,

image

will cause the following error.

Error: TypeError: Cannot read properties of null (reading '0')

The result of mix test --trace --seed=0 --only="" looks like following:

SomeTest [test/some_test.exs]
  * test Some
newline
test [L#40]

So the extension failed to parse the test trace log.

@sglim sglim changed the title If the test name has new line, Test Coverage tool is failed If the test name has new line, Test Explorer failed to the initialization Jan 2, 2023
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