Skip to content

Commit f15d3ab

Browse files
committed
.
1 parent 6d5f442 commit f15d3ab

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

example/pythonlib/testing/2-test-deps/build.mill

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,15 @@ object bar extends PythonModule {
4949

5050
> ./mill foo.test
5151
...Using BarTestUtils.bar_assert_equals...
52-
...test_equal_string (test.TestScript...)...ok...
52+
...test_equal_string (test.TestScript...)...
53+
...ok...
5354
...Ran 1 test...
5455
...OK...
5556

5657
> ./mill bar.test
5758
...Using BarTestUtils.bar_assert_equals...
58-
...test_mean (test.TestScript...)...ok...
59+
...test_mean (test.TestScript...)...
60+
...ok...
5961
...Ran 1 test...
6062
...OK...
6163

example/thirdparty/arrow/build.mill

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ object `package` extends RootModule {
135135
override def sources: T[Seq[PathRef]] = Task.Sources {
136136
val sourcesRootPath = millSourcePath / "src"
137137
var sources = Seq("common", platformCrossSuffix)
138-
.map(platform => PathRef(sourcesRootPath / s"${platform}Main/kotlin"))
138+
.map(platform => PathRef(sourcesRootPath / s"${platform}Main" / "kotlin"))
139139
.filter(p => os.exists(p.path))
140140
if (platformCrossSuffix != "jvm") {
141141
val nonJvmSourcesPath = sourcesRootPath / "nonJvmMain/kotlin"
@@ -163,7 +163,7 @@ object `package` extends RootModule {
163163
override def sources: T[Seq[PathRef]] = Task.Sources {
164164
val sourcesRootPath = outer.millSourcePath / "src"
165165
Seq("common", outer.platformCrossSuffix)
166-
.map(platform => PathRef(sourcesRootPath / s"${platform}Test/kotlin"))
166+
.map(platform => PathRef(sourcesRootPath / s"${platform}Test" / "kotlin"))
167167
.filter(p => os.exists(p.path))
168168
}
169169
}

scalalib/test/src/mill/scalalib/TestRunnerTestUtils.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ object TestRunnerTestUtils {
107107
moduleName: String,
108108
action: String = "test"
109109
): JUnitReportMatch = {
110-
val reportPath: Path = outPath / moduleName / s"$action.dest/test-report.xml"
110+
val reportPath: Path = outPath / moduleName / s"$action.dest" / "test-report.xml"
111111
val reportXML = XML.loadFile(reportPath.toIO)
112112
new JUnitReportMatch {
113113
override def shouldHave(statuses: (Int, Status)*): Unit = {

0 commit comments

Comments
 (0)