aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/scala/firrtlTests/AnnotationTests.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/firrtlTests/AnnotationTests.scala b/src/test/scala/firrtlTests/AnnotationTests.scala
index 6c1adac3..a0a935a9 100644
--- a/src/test/scala/firrtlTests/AnnotationTests.scala
+++ b/src/test/scala/firrtlTests/AnnotationTests.scala
@@ -53,7 +53,7 @@ trait AnnotationSpec extends LowTransformSpec {
}
def execute(writer: Writer, annotations: AnnotationMap, input: String, check: Annotation) = {
val cr = compile(CircuitState(parse(input), ChirrtlForm, Some(annotations)), writer)
- (cr.annotations.get.annotations.head) should be (check)
+ (cr.annotations.get.annotations) should be (Seq(check))
}
}