@Test
public void testRemoveComments() {

	String s = "no comment";
	Assert.assertEquals( s, TextUtils.removeComments( s ));
	s = "# comment";
	Assert.assertEquals( "", TextUtils.removeComments( s ));
	s = " # no comment";
	Assert.assertEquals( "", TextUtils.removeComments( s ));
	s = " # no comment # ";
	Assert.assertEquals( "", TextUtils.removeComments( s ));
	s = " first line #\n # no comment # ";
	Assert.assertEquals( " first line", TextUtils.removeComments( s ));
	s = " first line #\n second line\n # no comment # ";
	Assert.assertEquals( " first line\n second line", TextUtils.removeComments( s ));
}