aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/firrtlTests/CompilerTests.scala
diff options
context:
space:
mode:
authorAdam Izraelevitz2016-07-27 14:50:04 -0700
committerGitHub2016-07-27 14:50:04 -0700
commitdbf7cadd26d5fe3d525618696c101393251595b0 (patch)
treebb4670ef2e1fd43d0369e7668abbbe7bb4d53344 /src/test/scala/firrtlTests/CompilerTests.scala
parent07149ac70cd4e3b5d5cc33a19736d34fcb3e6478 (diff)
parent8d23265e17eff17c12cfffbbe0fe754ceb0d4695 (diff)
Merge pull request #199 from ucb-bar/add-annotations
Rework Annotations
Diffstat (limited to 'src/test/scala/firrtlTests/CompilerTests.scala')
-rw-r--r--src/test/scala/firrtlTests/CompilerTests.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/scala/firrtlTests/CompilerTests.scala b/src/test/scala/firrtlTests/CompilerTests.scala
index ce70a992..da267588 100644
--- a/src/test/scala/firrtlTests/CompilerTests.scala
+++ b/src/test/scala/firrtlTests/CompilerTests.scala
@@ -14,6 +14,7 @@ import firrtl.{
Compiler,
Parser
}
+import firrtl.Annotations.AnnotationMap
/**
* An example methodology for testing Firrtl compilers.
@@ -29,7 +30,7 @@ abstract class CompilerSpec extends FlatSpec {
def input: String
def check: String
def getOutput: String = {
- compiler.compile(parse(input), Seq.empty, writer)
+ compiler.compile(parse(input), new AnnotationMap(Seq.empty), writer)
writer.toString()
}
}