Don’t Mind Me.
Just testing something.
StringBuilder buff = new StringBuilder();
buff.append("syntax ");
buff.append("highlighting!");
System.out.println(buff.toString());

Just testing something.
StringBuilder buff = new StringBuilder();
buff.append("syntax ");
buff.append("highlighting!");
System.out.println(buff.toString());
Comments (One comment)
I think you meant:
public class SomethingTest extends TestCase { public void testSimpleAdd() { String expected = new String("syntax highlighting!"); StringBuilder buff = new StringBuilder(); buff.append("syntax "); buff.append("highlighting!"); Assert.assertTrue( expected.equals( buff.toString() ) ); } }Jackson / September 22nd, 2005, 2:36 pm / #
Post a comment