Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make sure steward doesn't update test files #81

Merged
merged 1 commit into from
Feb 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion itest/src/range/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import $ivy.`org.scalameta::munit:0.7.29`
import munit.Assertions._

object minimal extends ScalaModule {
// scala-steward:off
def scalaVersion = "3.1.3"

def ivyDeps = Agg(
ivy"org.eclipse.lsp4j:org.eclipse.lsp4j.jsonrpc:0.12.0"
)
Expand All @@ -26,6 +26,7 @@ def verify(ev: Evaluator) = T.command {
"org.scala-lang:scala3-library_3:3.1.3",
"org.eclipse.lsp4j:org.eclipse.lsp4j.jsonrpc:0.12.0",
"com.google.code.gson:gson:2.8.9"
// scala-steward:on
)

assertEquals(manifestMapping.head._2.resolved.keys, expected)
Expand Down
2 changes: 2 additions & 0 deletions itest/src/reconciledRange/build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import $ivy.`org.scalameta::munit:0.7.29`
import munit.Assertions._

object minimalDep extends ScalaModule {
// scala-steward:off
def scalaVersion = "2.13.8"

def ivyDeps = Agg(
Expand Down Expand Up @@ -56,6 +57,7 @@ def verify(ev: Evaluator) = T.command {
"com.fasterxml.jackson.core:jackson-annotations:2.12.3",
"org.jongo:jongo:1.5.0",
"de.undercouch:bson4jackson:2.12.0"
// scala-steward:on
)

val results = manifestMapping.foldLeft[Set[String]](Set.empty) {
Expand Down