We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--watch
1 parent 6d3c926 commit cd84ae9Copy full SHA for cd84ae9
modules/integration/src/test/scala/scala/cli/integration/RunWithWatchTestDefinitions.scala
@@ -42,6 +42,18 @@ trait RunWithWatchTestDefinitions { _: RunTestDefinitions =>
42
TestInputs(inputPath -> code(expectedMessage1)),
43
code(expectedMessage2)
44
)
45
+ }, {
46
+ val inputPath = os.rel / "Main.java"
47
+ def code(message: String) = s"""public class Main {
48
+ | public static void main(String[] args) {
49
+ | System.out.println("$message");
50
+ | }
51
+ |}""".stripMargin
52
+ (
53
+ inputPath,
54
+ TestInputs(inputPath -> code(expectedMessage1)),
55
+ code(expectedMessage2)
56
+ )
57
}, {
58
val inputPath = os.rel / "markdown.md"
59
def code(message: String) =
0 commit comments