aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJon Pretty <jon.pretty@propensive.com>2017-06-13 14:33:25 +0200
committerJon Pretty <jon.pretty@propensive.com>2017-06-13 14:33:25 +0200
commitd1a7565a92d81a451c50d7739365d7106f63f1b7 (patch)
treef8a8694dce83dcf4d9f6183cf805e48c40f7a52c /tests
parent47cc95b1d02d997b611daeb59983160e98851d09 (diff)
downloadmagnolia-d1a7565a92d81a451c50d7739365d7106f63f1b7.tar.gz
magnolia-d1a7565a92d81a451c50d7739365d7106f63f1b7.tar.bz2
magnolia-d1a7565a92d81a451c50d7739365d7106f63f1b7.zip
Better error reporting
Diffstat (limited to 'tests')
-rw-r--r--tests/shared/src/main/scala/magnolia/main.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shared/src/main/scala/magnolia/main.scala b/tests/shared/src/main/scala/magnolia/main.scala
index 727eb1f..014ec33 100644
--- a/tests/shared/src/main/scala/magnolia/main.scala
+++ b/tests/shared/src/main/scala/magnolia/main.scala
@@ -4,7 +4,7 @@ import examples._
object Main {
def main(args: Array[String]): Unit = {
- println(Branch(Branch(Leaf(1), Leaf(2)), Leaf(3)).show)
+ println(Branch(Branch(Leaf(1, null), Leaf(2, null)), Leaf(3, null)).show)
println(List[Entity](Person("John Smith",
Address(List("1 High Street", "London", "SW1A 1AA"),
Country("UK", "GBR", false)))).show)