mirror of https://github.com/sbt/sbt.git
When a test fails with ClassNotFoundException/IllegalAccessError, sbt suggests a set command to change classLoaderLayeringStrategy. If the project name contains hyphens (e.g. bug-report), the suggested command was syntactically invalid because it parses as subtraction in Scala. Quote project IDs using Util.quoteIfNotScalaId so the suggested commands are valid when copy-pasted. Fixes #5803 |
||
|---|---|---|
| .. | ||
| main | ||
| test/scala/sbt/internal/util | ||