diff options
| author | abejgonzalez | 2019-08-22 10:55:55 -0700 |
|---|---|---|
| committer | Schuyler Eldridge | 2019-09-05 13:30:45 -0400 |
| commit | a991d9744e2c95a93c641655045cc65153495421 (patch) | |
| tree | ae4e53ae3fd9fbe8079141a3ded4f84ad34848e0 /src | |
| parent | bc7fe56d396c9018e9c3ccaab1ed747dd8d609b2 (diff) | |
clean up spacing in inline test
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/scala/firrtlTests/InlineInstancesTests.scala | 9 |
1 files changed, 4 insertions, 5 deletions
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 |
