lkishalmi commented on code in PR #7097:
URL: https://github.com/apache/netbeans/pull/7097#discussion_r1522534081


##########
ide/languages.hcl/test/unit/src/org/netbeans/modules/languages/hcl/HCLIndenterTest.java:
##########
@@ -138,7 +149,8 @@ private void performNewLineIndentationTest(String code, 
String golden) throws Ex
 
         assertNotSame(-1, pos);
 
-        code = code.replaceAll(Pattern.quote("|"), "");
+        code = code.replaceAll(Pattern.quote("|"), "").replace('_', ' ');

Review Comment:
   Well, read through the Text Blocks JEP, it seems the additional replaces are 
not in need after all. There are a few places where I need to add `\s` to the 
end of a line, marking that as non-blank, spaces are expected. 



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to