File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed
src/sbt-test/sbt-buildinfo
options/src/main/scala/hello
skipimportscaseobject/src/main/scala/hello Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,10 @@ package hello
22
33import scala .Predef ._
44
5- object Test extends scala.App {
6- val expected = """ {"name":"helloworld", "scalaVersion":"2.12.21"}"""
7- val actual = hello.BuildInfo .toJson
8- assert(actual == expected, " expected " + expected + " but found " + actual)
5+ object Test {
6+ def main (args : scala.Array [String ]): scala.Unit = {
7+ val expected = """ {"name":"helloworld", "scalaVersion":"2.12.21"}"""
8+ val actual = hello.BuildInfo .toJson
9+ assert(actual == expected, " expected " + expected + " but found " + actual)
10+ }
911}
Original file line number Diff line number Diff line change @@ -2,8 +2,10 @@ package hello
22
33import scala .Predef ._
44
5- object Test extends scala.App {
6- val expected = """ {"name":"helloworld", "scalaVersion":"2.12.21"}"""
7- val actual = hello.BuildInfo .toJson
8- assert(actual == expected, " expected " + expected + " but found " + actual)
5+ object Test {
6+ def main (args : scala.Array [String ]): scala.Unit = {
7+ val expected = """ {"name":"helloworld", "scalaVersion":"2.12.21"}"""
8+ val actual = hello.BuildInfo .toJson
9+ assert(actual == expected, " expected " + expected + " but found " + actual)
10+ }
911}
You can’t perform that action at this time.
0 commit comments