Skip to content

Commit

Permalink
Use new idea module in tests, WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
lefou committed Jul 4, 2023
1 parent de25434 commit 1dad111
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package mill.integration
package local
package mill.integration.local

import os.Path
import mill.integration.IntegrationTestSuite
import utest._

import scala.util.Try
Expand All @@ -15,7 +14,7 @@ object GenIdeaExtendedTests extends IntegrationTestSuite {
def tests: Tests = Tests {
"genIdeaTests" - {
val workspacePath = initWorkspace()
eval("mill.scalalib.GenIdea/idea")
eval("mill.idea.GenIdea/idea")

val checks = Seq(
os.sub / "mill_modules" / "helloworld.iml",
Expand Down
7 changes: 3 additions & 4 deletions integration/feature/gen-idea/test/src/GenIdeaTests.scala
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package mill.integration
package local
package mill.integration.local

import os.Path
import utest.{Tests, assert, _}

import scala.util.Try
import mill.integration.IntegrationTestSuite
import GenIdeaUtils._

object GenIdeaTests extends IntegrationTestSuite {
Expand Down Expand Up @@ -54,7 +53,7 @@ object GenIdeaTests extends IntegrationTestSuite {

test("genIdeaTests") {
val workspacePath = initWorkspace()
eval("mill.scalalib.GenIdea/idea")
eval("mill.idea.GenIdea/idea")

val checks = Seq(
os.sub / "mill_modules" / "helloworld.iml",
Expand Down
4 changes: 3 additions & 1 deletion integration/feature/gen-idea/test/src/GenIdeaUtils.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package mill.integration
package mill.integration.local

import java.util.regex.Pattern
import scala.util.Try
import utest.assert

object GenIdeaUtils {

/**
Expand Down

0 comments on commit 1dad111

Please sign in to comment.