From b29847c91cfcf6c03af6be414da47002e2b5a91f Mon Sep 17 00:00:00 2001 From: Shaun Whitely <38450416+shaun-whitely@users.noreply.github.com> Date: Fri, 6 Oct 2023 14:40:50 +1100 Subject: [PATCH] Import the constructors of the ADTs that learners will define in this exercise. (#243) This is so that they can simply remove the `Types.*` import and things will still compile. With the change from sealed traits to enums, the namespacing of the constructors changed. --- src/test/scala/introcourse/level07/LogParserTest.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/scala/introcourse/level07/LogParserTest.scala b/src/test/scala/introcourse/level07/LogParserTest.scala index 0fbbf6b..9ba3548 100644 --- a/src/test/scala/introcourse/level07/LogParserTest.scala +++ b/src/test/scala/introcourse/level07/LogParserTest.scala @@ -1,6 +1,8 @@ package introcourse.level07 import introcourse.level07.LogParser.* +import introcourse.level07.LogParser.LogLevel.* +import introcourse.level07.LogParser.LogMessage.* import org.scalactic.TypeCheckedTripleEquals import org.scalatest.funspec.AnyFunSpec