This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git

commit 0af0d178ae6f7c4772afadf5bc2251c7805e75d0
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue Dec 10 15:29:17 2024 -0500

    Two TeeWriterTest methods test the wrong class
---
 src/test/java/org/apache/commons/io/output/TeeWriterTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/commons/io/output/TeeWriterTest.java 
b/src/test/java/org/apache/commons/io/output/TeeWriterTest.java
index 8f0f8ee7f..b6f59ce04 100644
--- a/src/test/java/org/apache/commons/io/output/TeeWriterTest.java
+++ b/src/test/java/org/apache/commons/io/output/TeeWriterTest.java
@@ -42,7 +42,7 @@ public class TeeWriterTest {
     public void testArrayIOExceptionOnAppendChar1() {
         final Writer badW = BrokenWriter.INSTANCE;
         final StringWriter goodW = mock(StringWriter.class);
-        final ProxyCollectionWriter tw = new ProxyCollectionWriter(badW, 
goodW, null);
+        final TeeWriter tw = new TeeWriter(badW, goodW, null);
         final char data = 'A';
 
         final IOExceptionList e = assertThrows(IOExceptionList.class, () -> 
tw.append(data));
@@ -55,7 +55,7 @@ public class TeeWriterTest {
     public void testArrayIOExceptionOnAppendChar2() {
         final Writer badW = BrokenWriter.INSTANCE;
         final StringWriter goodW = mock(StringWriter.class);
-        final ProxyCollectionWriter tw = new ProxyCollectionWriter(goodW, 
badW, null);
+        final TeeWriter tw = new TeeWriter(goodW, badW, null);
         final char data = 'A';
 
         final IOExceptionList e = assertThrows(IOExceptionList.class, () -> 
tw.append(data));

Reply via email to