aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/firrtlTests/MemoryInitSpec.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/firrtlTests/MemoryInitSpec.scala')
-rw-r--r--src/test/scala/firrtlTests/MemoryInitSpec.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/scala/firrtlTests/MemoryInitSpec.scala b/src/test/scala/firrtlTests/MemoryInitSpec.scala
index 0826746b..5598e58b 100644
--- a/src/test/scala/firrtlTests/MemoryInitSpec.scala
+++ b/src/test/scala/firrtlTests/MemoryInitSpec.scala
@@ -129,7 +129,7 @@ class MemInitSpec extends FirrtlFlatSpec {
val annos = Seq(MemoryScalarInitAnnotation(mRef, 0))
compile(annos, "UInt<32>[2]")
}
- assert(caught.getMessage.endsWith("[module MemTest] Cannot initialize memory of non ground type UInt<32>[2]"))
+ assert(caught.getMessage.endsWith("Cannot initialize memory m of non ground type UInt<32>[2]"))
}
"MemoryScalarInitAnnotation on Memory with Bundle type" should "fail" in {
@@ -137,7 +137,7 @@ class MemInitSpec extends FirrtlFlatSpec {
val annos = Seq(MemoryScalarInitAnnotation(mRef, 0))
compile(annos, "{real: SInt<10>, imag: SInt<10>}")
}
- assert(caught.getMessage.endsWith("[module MemTest] Cannot initialize memory of non ground type { real : SInt<10>, imag : SInt<10>}"))
+ assert(caught.getMessage.endsWith("Cannot initialize memory m of non ground type { real : SInt<10>, imag : SInt<10>}"))
}
private def jsonAnno(name: String, suffix: String): String =