sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1532370 - /sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/io/LineAppenderTest.java
Date Tue, 15 Oct 2013 14:56:24 GMT
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");
     }
 }



Mime
View raw message