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

sbt-test: scripted test succeeds while they should fail #22524

Open
hamzaremmal opened this issue Feb 5, 2025 · 0 comments
Open

sbt-test: scripted test succeeds while they should fail #22524

hamzaremmal opened this issue Feb 5, 2025 · 0 comments

Comments

@hamzaremmal
Copy link
Member

Compiler version

a3dde8b

Minimized code

Add an assert(false) at the end of this file: https://github.com/scala/scala3/blob/a3dde8bd9e57a7c6caf089d4d793d5aed9103abd/sbt-test/scala2-compat/erasure/dottyApp/Main.scala

Output

The test will succeed

Expectation

The test should fail

Notes

This issue was discovered while working on #22517 (See #22517 (comment)).
While testing locally, it appears that any error of type LinkageError is not considered a failure.
Checking on the sbt repository later, I found an issue raised a few years ago: sbt/sbt#6852

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant