Skip to content

Commit

Permalink
Scalameta: upgrade to v4.13.1
Browse files Browse the repository at this point in the history
Now that JS NodeNIOPath works on Windows, re-enable the tests.
  • Loading branch information
kitbellew committed Feb 16, 2025
1 parent a9a25ec commit 07e295f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 11 deletions.
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ inThisBuild {
crossScalaVersions := List(scala213, scala212),
resolvers ++= Resolver.sonatypeOssRepos("releases"),
resolvers ++= Resolver.sonatypeOssRepos("snapshots"),
resolvers += "https://oss.sonatype.org/content/repositories/releases",
testFrameworks += new TestFramework("munit.Framework"),
// causes native image issues
dependencyOverrides += "org.jline" % "jline" % "3.29.0",
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import org.portablescala.sbtplatformdeps.PlatformDepsPlugin.autoImport._

object Dependencies {
val metaconfigV = "0.15.0"
val scalametaV = "4.13.0"
val scalametaV = "4.13.1"
val scalacheckV = "1.18.1"
val coursier = "2.1.24"
val munitV = "1.1.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
package org.scalafmt.config

import org.scalafmt.sysops._

import munit.FunSuite

class ScalafmtConfigTest extends FunSuite {

override def munitIgnore: Boolean =
// TODO: remove when scala.meta.internal.io.NodeNIOPath works on Windows
PlatformCompat.isJS && OsSpecific.isWindows

test("project.matcher") {
val config = ScalafmtConfig.fromHoconString(
"""|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ import scala.meta.dialects

class StandardProjectLayoutTest extends munit.FunSuite {

override def munitIgnore: Boolean =
// TODO: remove when scala.meta.internal.io.NodeNIOPath works on Windows
PlatformCompat.isJS && OsSpecific.isWindows

import ProjectFiles.Layout.StandardConvention._

Seq(
Expand Down

0 comments on commit 07e295f

Please sign in to comment.