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

Tests with shortened do: blocks are not detected #29

Closed
jcowgar opened this issue Oct 12, 2023 · 1 comment
Closed

Tests with shortened do: blocks are not detected #29

jcowgar opened this issue Oct 12, 2023 · 1 comment

Comments

@jcowgar
Copy link

jcowgar commented Oct 12, 2023

In the example test file below, "test 1" is detected, but "test 2" is not. As soon as you convert "test 2" to a full do/end block, it then is detected. Convert "test 1" to a do: block, and it is no longer detected.

describe "my tests" do
  test "test 1" do
    assert true
  end

  test "test 2", do: assert false
end
@jfpedroza
Copy link
Owner

This is now supported. Never occurred to me to make a test with an inline body.

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