Skip to content
Permalink
Browse files
Inline unnecessary local variable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@1669813 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
britter committed Mar 28, 2015
1 parent 3505dba commit ec363cc653aaaa2c10b19e0ae880ede6084dd420
Showing 1 changed file with 3 additions and 4 deletions.
@@ -129,13 +129,12 @@ public void testRenderWrappedTextMultiLine()
// multi line text
int width = 16;
int padding = 0;
String text = "aaaa aaaa aaaa" + EOL +
String expected = "aaaa aaaa aaaa" + EOL +
"aaaaaa" + EOL +
"aaaaa";
String expected = text;


StringBuffer sb = new StringBuffer();
new HelpFormatter().renderWrappedText(sb, width, padding, text);
new HelpFormatter().renderWrappedText(sb, width, padding, expected);
assertEquals("multi line text", expected, sb.toString());
}

0 comments on commit ec363cc

Please sign in to comment.