You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by de...@apache.org on 2013/10/15 16:56:24 UTC

svn commit: r1532370 - /sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/io/LineAppenderTest.java

Author: desruisseaux
Date: Tue Oct 15 14:56:24 2013
New Revision: 1532370

URL: http://svn.apache.org/r1532370
Log:
Make the test string a little bit longer in order to test with an index different than zero (safety against regression).

Modified:
    sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/io/LineAppenderTest.java

Modified: sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/io/LineAppenderTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/io/LineAppenderTest.java?rev=1532370&r1=1532369&r2=1532370&view=diff
==============================================================================
--- sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/io/LineAppenderTest.java [UTF-8] (original)
+++ sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/io/LineAppenderTest.java [UTF-8] Tue Oct 15 14:56:24 2013
@@ -87,9 +87,9 @@ public strictfp class LineAppenderTest e
     public void testInterleavedFlush() throws IOException {
         final LineAppender f = (LineAppender) appender;
         f.setTabulationWidth(4);
-        f.append("A");
+        f.append("S1");
         f.flush();
-        f.append("\tB");
-        assertOutputEquals(f.isTabulationExpanded() ? "A   B" : "A\tB");
+        f.append("\tS2");
+        assertOutputEquals(f.isTabulationExpanded() ? "S1  S2" : "S1\tS2");
     }
 }