Index: gnu/testlet/java/io/BufferedWriter/Test.java =================================================================== RCS file: /cvs/mauve/mauve/gnu/testlet/java/io/BufferedWriter/Test.java,v retrieving revision 1.1 diff -u -r1.1 Test.java --- gnu/testlet/java/io/BufferedWriter/Test.java 21 Nov 2002 20:48:21 -0000 1.1 +++ gnu/testlet/java/io/BufferedWriter/Test.java 23 Jul 2004 09:27:36 -0000 @@ -41,7 +41,7 @@ String str = "I used to live right behind this super-cool bar in\n" + "Chicago called Lounge Ax. They have the best music of pretty\n" + "much anyplace in town with a great atmosphere and $1 Huber\n" + - "on tap. I go to tons of shows there, even though I moved.\n"; + "on tap. I go to tons of shows there, even though I moved."; char[] buf = new char[str.length()]; str.getChars(0, str.length(), buf, 0); @@ -51,13 +51,14 @@ bw.write(buf, 5, 8); bw.write(buf, 13, 12); bw.write(buf[25]); - bw.write(buf, 26, buf.length - 27); + bw.write(buf, 26, buf.length - 26); bw.newLine(); // newLine() bw.flush(); bw.close(); String str2 = new String(caw.toCharArray()); - harness.check(str, str2, "Did all chars make it through?"); + harness.check(str + System.getProperty("line.separator"), str2, + "Did all chars make it through?"); harness.debug(str2, false); } catch(IOException e)