diff options
Diffstat (limited to 'scalalib/test/resources/scalafmt/core/src/Main.scala')
-rw-r--r-- | scalalib/test/resources/scalafmt/core/src/Main.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scalalib/test/resources/scalafmt/core/src/Main.scala b/scalalib/test/resources/scalafmt/core/src/Main.scala new file mode 100644 index 00000000..a5c74235 --- /dev/null +++ b/scalalib/test/resources/scalafmt/core/src/Main.scala @@ -0,0 +1,7 @@ + +object Main extends App{ + val person = Person.fromString("rockjam:25") + val greeting = s"hello ${person.name}, your age is: ${person.age}" + println(greeting) +} + |