Skip to content

Commit

Permalink
Merge pull request #462 from bjaglin/jdk23
Browse files Browse the repository at this point in the history
test on JDK23
  • Loading branch information
bjaglin authored Jan 31, 2025
2 parents 46bb062 + 444a0bc commit a61719f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,17 @@ jobs:
jvm: temurin:21
- run: rm -rf src/sbt-test/skip-java17+
- run: sbt test scripted
jdk23:
name: JDK23 tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: coursier/setup-action@v1
with:
apps: sbt
jvm: temurin:23
- run: rm -rf src/sbt-test/skip-java17+
- run: sbt test scripted
windows:
name: Windows tests
runs-on: windows-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class ScalafixAPISuite extends AnyFunSuite {
)
)
val obtainedError = mainInterface.run().toList
val out = fansi.Str(baos.toString()).plainText
val out = fansi.Str(baos.toString(), fansi.ErrorMode.Strip).plainText
assert(obtainedError == List(ScalafixError.LinterError), out)
val obtained = new String(Files.readAllBytes(tmp))
assert(obtained.contains(": Unit = {"), out)
Expand Down

0 comments on commit a61719f

Please sign in to comment.