From a991d9744e2c95a93c641655045cc65153495421 Mon Sep 17 00:00:00 2001 From: abejgonzalez Date: Thu, 22 Aug 2019 10:55:55 -0700 Subject: clean up spacing in inline test --- src/test/scala/firrtlTests/InlineInstancesTests.scala | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/test/scala/firrtlTests/InlineInstancesTests.scala b/src/test/scala/firrtlTests/InlineInstancesTests.scala index 4affd64d..7132c0f3 100644 --- a/src/test/scala/firrtlTests/InlineInstancesTests.scala +++ b/src/test/scala/firrtlTests/InlineInstancesTests.scala @@ -19,11 +19,10 @@ import logger.LogLevel.Debug */ class InlineInstancesTests extends LowTransformSpec { def transform = new InlineInstances - def inline(mod: String): Annotation = { - val parts = mod.split('.') - val modName = ModuleName(parts.head, CircuitName("Top")) // If this fails, bad input - val name = if (parts.size == 1) modName - else ComponentName(parts.tail.mkString("."), modName) + def inline(mod: String): Annotation = { + val parts = mod.split('.') + val modName = ModuleName(parts.head, CircuitName("Top")) // If this fails, bad input + val name = if (parts.size == 1) modName else ComponentName(parts.tail.mkString("."), modName) InlineAnnotation(name) } // Set this to debug, this will apply to all tests -- cgit v1.2.3