mirror of
https://github.com/sbt/sbt.git
synced 2026-09-01 18:47:14 +02:00
Migrate ProgressStateSpec.scala from ScalaTest's AnyFlatSpec with BeforeAndAfterAll to verify.BasicTestSuite, following the pattern established by other test files in the sbt codebase. Changes: - Replace AnyFlatSpec class with BasicTestSuite object - Remove BeforeAndAfterAll trait and convert afterAll to try-finally - Use scala.util.Using.resource for proper resource management - Convert 'should ... in' syntax to 'test(...)' syntax - Use Scala 3 syntax with colon indentation - Change === to == for assertions - Add 'end ProgressStateSpec' marker Related to the ongoing test migration effort. Co-authored-by: GlobalStar117 <[email protected]>