olabusayoT commented on code in PR #1368:
URL: https://github.com/apache/daffodil/pull/1368#discussion_r1838795673


##########
daffodil-tdml-lib/src/main/scala/org/apache/daffodil/tdml/TDMLRunner.scala:
##########
@@ -2852,8 +2852,8 @@ abstract class ErrorWarningBase(n: NodeSeq, parent: 
TestCase) {
 
   protected def diagnosticNodes: Seq[Node]
 
-  lazy val messages = diagnosticNodes.map {
-    _.text
+  lazy val messages: Seq[String] = diagnosticNodes.map {
+    _.text.trim

Review Comment:
   That's correct. I'll update the test message so it shows it doesn't collapse 
interior whitespace



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to