File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
pythonlib/testing/2-test-deps
scalalib/test/src/mill/scalalib Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 = {
You can’t perform that action at this time.
0 commit comments