diff options
| author | Adam Izraelevitz | 2016-11-07 20:04:19 -0500 |
|---|---|---|
| committer | GitHub | 2016-11-07 20:04:19 -0500 |
| commit | 1052a92a44b738303636fd8776597d1ea1b84a51 (patch) | |
| tree | 96eca9a00bf3031d74bb3fafd751b712114b0aee /src/test | |
| parent | 907a2b2bff7023316a29e129aa9cbc04ba794c06 (diff) | |
Fix annotations (#366)
getMyAnnotations now returns Seq[Annotation]
Changed test to check number of annotations is the same
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/scala/firrtlTests/AnnotationTests.scala | 2 |
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)) } } |
