terminal/src/test/java/org/jline/utils/AttributedStringBuilderTest.java
/**
     * Test that tabs are not expanded in strings if tab size has not been set
     */
Test that tabs are not expanded in strings if tab size has not been set
Test that tabs are not expanded in strings if tab size has not been set
@Test
    public void testUnsetTabSize() {
        AttributedStringBuilder sb;
        String expected = "";
        sb = new AttributedStringBuilder();
        sb.append("hello\tWorld"); expected += "hello\tWorld";
        assertEquals(TAB_SIZE_ERR_MSG, expected, sb.toString());
    }
@ Test public void testUnsetTabSize ( ) { AttributedStringBuilder sb ; String expected = "" ; sb = new AttributedStringBuilder ( ) ; sb . append ( "hello\tWorld" ) ; expected += "hello\tWorld" ; assertEquals ( TAB_SIZE_ERR_MSG , expected , sb . toString ( ) ) ; }
Test that tabs are not expanded in strings if tab size has not been set
Test that tabs are not expanded in strings if tab size has not been set