aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/firrtlTests/InlineBooleanExpressionsSpec.scala
diff options
context:
space:
mode:
authorJared Barocsi2021-05-13 14:30:58 -0700
committerGitHub2021-05-13 14:30:58 -0700
commit6aa86b13abe25271278498836217c89c00d7b151 (patch)
treefcaf85d1d271148ea46edbbb0ef010300a4a6105 /src/test/scala/firrtlTests/InlineBooleanExpressionsSpec.scala
parent5f3e196b83b576b190197807ead0e769f0d5e70b (diff)
Implement MFC-style source locator compression (#2212)
* Implement MFC-style source locator compression * Fix formatting issues * Fix emitting empty FileInfo if the firrtl doesn't have one * Remove '.scala' requirement in FileInfo parsing regex * Handle parsing of FileInfos with no line/col nums * Split FileInfos only if they match This should fix any issues with FileInfos that do not use the "file line:col" format, and allow any valid firrtl using these info comments to compile. * Add unit tests for locator compression * Move InfoTests to InfoSpec class * Fix existing unit tests with fileinfo comments * Add unit tests to ignore the algorithm's own output
Diffstat (limited to 'src/test/scala/firrtlTests/InlineBooleanExpressionsSpec.scala')
-rw-r--r--src/test/scala/firrtlTests/InlineBooleanExpressionsSpec.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/firrtlTests/InlineBooleanExpressionsSpec.scala b/src/test/scala/firrtlTests/InlineBooleanExpressionsSpec.scala
index e11c4281..a1f272c9 100644
--- a/src/test/scala/firrtlTests/InlineBooleanExpressionsSpec.scala
+++ b/src/test/scala/firrtlTests/InlineBooleanExpressionsSpec.scala
@@ -166,7 +166,7 @@ class InlineBooleanExpressionsSpec extends FirrtlFlatSpec {
| node _c = in_1 @[A 1:1]
| node _t = in_2 @[A 1:1]
| node _f = in_3 @[A 1:1]
- | out <= mux(in_1, in_2, in_3) @[A 1:1 A 2:2 A 3:3]""".stripMargin
+ | out <= mux(in_1, in_2, in_3) @[A 1:1 2:2 3:3]""".stripMargin
val result = exec(input)
(result) should be(parse(check).serialize)
}