lkishalmi commented on code in PR #7097:
URL: https://github.com/apache/netbeans/pull/7097#discussion_r1518724140
##########
ide/languages.hcl/test/unit/src/org/netbeans/modules/languages/hcl/HCLIndenterTest.java:
##########
@@ -118,7 +118,18 @@ public void testEmpty4() throws Exception {
@Test
public void testEmptyLine() throws Exception {
- performLineIndentationTest("locals {\n |\n}\n", "locals {\n\n}\n");
+ performLineIndentationTest(
+ """
+ locals {
+ __|
Review Comment:
This is a TextBlock experiment in formatting. Yes `|` stands for the cursor
and `_` would stand for "visible space".
the `performLineIndentationTest` will turn them to spaces. I'm not entirely
convinced yet, but a bit easier to read the strings this way, than decoding
`\n` and ` ` sequences.
--
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