Java: Trim surrounding whitespaces because they don't survive in the refactoring - test data fixed (IDEA-191738)

This commit is contained in:
Pavel Dolgov
2018-10-22 13:06:25 +03:00
parent 3153718bc7
commit c4460f61de
@@ -3,7 +3,7 @@ class Node {
String foo(Node left, Node right) {
String leftType = left.getType().substring(1);
<selection> String rightType = right.getType().substring(1);
<selection> String rightType = right.getType().substring(1); //line comment
</selection>
String type = "A".substring(1);
return leftType + rightType + type;