We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How can I test that my compiler plugin fails for some specific code? Given this code:
compilerTest("should fail")( "def func tion = ()", None ) { case (tree, given Context) => println("HERE") }
The println is never executed and the test passes. How can I run the compiler, let it fail and assert that a specific error message is returned?
println
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How can I test that my compiler plugin fails for some specific code?
Given this code:
The
println
is never executed and the test passes. How can I run the compiler, let it fail and assert that a specific error message is returned?The text was updated successfully, but these errors were encountered: