summaryrefslogtreecommitdiff
path: root/contrib/scoverage/test/resources/hello-world
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/scoverage/test/resources/hello-world')
-rw-r--r--contrib/scoverage/test/resources/hello-world/core/src/Greet.scala2
-rw-r--r--contrib/scoverage/test/resources/hello-world/other/src/Foo.scala1
2 files changed, 3 insertions, 0 deletions
diff --git a/contrib/scoverage/test/resources/hello-world/core/src/Greet.scala b/contrib/scoverage/test/resources/hello-world/core/src/Greet.scala
index 608becc9..90830bbc 100644
--- a/contrib/scoverage/test/resources/hello-world/core/src/Greet.scala
+++ b/contrib/scoverage/test/resources/hello-world/core/src/Greet.scala
@@ -3,4 +3,6 @@ object Greet {
case Some(p) => s"Hello, ${p} ${name}!"
case None => s"Hello, ${name}!"
}
+
+ val foo = Foo // testing module deps
}
diff --git a/contrib/scoverage/test/resources/hello-world/other/src/Foo.scala b/contrib/scoverage/test/resources/hello-world/other/src/Foo.scala
new file mode 100644
index 00000000..d3c853cc
--- /dev/null
+++ b/contrib/scoverage/test/resources/hello-world/other/src/Foo.scala
@@ -0,0 +1 @@
+object Foo