aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/firrtl/testutils/FirrtlSpec.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/firrtl/testutils/FirrtlSpec.scala')
-rw-r--r--src/test/scala/firrtl/testutils/FirrtlSpec.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/scala/firrtl/testutils/FirrtlSpec.scala b/src/test/scala/firrtl/testutils/FirrtlSpec.scala
index e14dc78c..8f0241fe 100644
--- a/src/test/scala/firrtl/testutils/FirrtlSpec.scala
+++ b/src/test/scala/firrtl/testutils/FirrtlSpec.scala
@@ -254,7 +254,9 @@ object FirrtlCheckers extends FirrtlMatchers {
/** Checks that the emitted circuit has the expected line, both will be normalized */
def containLine(expectedLine: String) = containLines(expectedLine)
- /** Checks that the emitted circuit has the expected lines in order, all lines will be normalized */
+ /** Checks that the emitted circuit contains the expected lines contiguously and in order;
+ * all lines will be normalized
+ */
def containLines(expectedLines: String*) = new CircuitStateStringsMatcher(expectedLines)
class CircuitStateStringsMatcher(expectedLines: Seq[String]) extends Matcher[CircuitState] {