mirror of https://github.com/sbt/sbt.git
Migrate SingletonCacheSpec.scala from ScalaTest's AnyFlatSpec to verify.BasicTestSuite, following the pattern established by other test files in the util-cache module. Changes: - Replace AnyFlatSpec class with BasicTestSuite object - Convert 'should ... in' syntax to 'test(...)' syntax - Use Scala 3 syntax with colon indentation - Change === to == for assertions (BasicTestSuite style) - Replace intercept[Exception] with scala.util.Try pattern - Add 'end SingletonCacheSpec' and 'end ComplexType' markers Related to the ongoing test migration effort. Co-authored-by: GlobalStar117 <GlobalStar117@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||