From 2d49b90b13e406e4249c32ee0d447643ec050ead Mon Sep 17 00:00:00 2001 From: oronpo Date: Thu, 12 Sep 2024 04:37:36 +0300 Subject: [PATCH] fix elaboration checks on linux --- lib/src/test/scala/ElaborationChecksSpec.scala | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/src/test/scala/ElaborationChecksSpec.scala b/lib/src/test/scala/ElaborationChecksSpec.scala index ccb8d3b22..2fe20d549 100644 --- a/lib/src/test/scala/ElaborationChecksSpec.scala +++ b/lib/src/test/scala/ElaborationChecksSpec.scala @@ -143,12 +143,12 @@ class ElaborationChecksSpec extends DesignSpec: if (x) val y = Bit <> IN assertElaborationErrors(Top())( - """|Elaboration errors found! - |DFiant HDL elaboration error! - |Position: lib\src\test\scala\ElaborationChecksSpec.scala:144:17 - 144:26 - |Hierarchy: Top.y - |Operation: `` - |Message: Ports can only be directly owned by a design, a domain or an interface. - |""".stripMargin + s"""|Elaboration errors found! + |DFiant HDL elaboration error! + |Position: ${currentFilePos}ElaborationChecksSpec.scala:144:17 - 144:26 + |Hierarchy: Top.y + |Operation: `` + |Message: Ports can only be directly owned by a design, a domain or an interface. + |""".stripMargin ) end ElaborationChecksSpec