Skip to content

Commit

Permalink
Update src/test/scala/chiselTests/ModuleChoiceSpec.scala
Browse files Browse the repository at this point in the history
Co-authored-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
  • Loading branch information
davidbiancolin and seldridge authored Dec 10, 2024
1 parent 7a2a62f commit 8dbb9b8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/test/scala/chiselTests/ModuleChoiceSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,11 @@ class AddGroupSpec extends ChiselFlatSpec with Utils with MatchesAndOmits {
val chirrtl = ChiselStage.emitCHIRRTL(new ModuleWithoutChoice, Array("--full-stacktrace"))

info("CHIRRTL emission looks correct")
matchesAndOmits(chirrtl)(
"option Platform :",
"FPGA",
"ASIC"
fileCheckString(chirrtl)(
"""|CHECK: option Platform :
|CHECK-NEXT: FPGA
|CHECK-NEXT: ASIC
|""".stripMargin
)()
}
}

0 comments on commit 8dbb9b8

Please sign in to comment.